In order to get started, need to install the Integrated Development Environment (IDE) extensions.
See sections below the steps for each IDE.
Installation.
To install CodeDefender extentions there are two options.
To install the extension manually:
CTRL+SHIFT+X
Configuration.
Once you installed the extension, you need to configure the API key and service URL.
To add your API key in VSCode, open press CTRL+SHIFT+P
and type: CodeDefender: Set API Key
.
For the rest of the options, you can open VSCode Settings, File -> Preferences -> Settings
.
Usage.
Once you installed and configured the extension, you can start using the commands or codelens to interact with CodeDefender service.
If everything is setup correctly, you should see the codelens appearing over the functions/methods in our code. Clicking it will make a request to CodeDefender to perform that action (e.g. analyse, refactor, document, etc.)
After the request is process, the results will be displayed.
Installation.
To install CodeDefender extentions there are two options.
To install the extension manually:
Configuration.
Once you installed the extension, you need to configure the API key and service URL.
To add your API key or service URL in Visual Studio, go to Tools -> Options -> CodeDefender.
Usage.
Once you installed and configured the extension, you can start using the commands or codelens to interact with CodeDefender service.
If everything is setup correctly, you should see the codelens appearing over the functions/methods in our code. Clicking it will make a request to CodeDefender to perform that action (e.g. analyse, refactor, document, etc.)
Installation.
CodeDefender VSCode extention integrates seamlessly with Chat clients that target local LLMs (currently, only Ollama is supported, though OpenAI API protocol is supported).
Usage.
Once the chat client is installed, you need to configure it to use Ollama - account creation in that client is optional.
Once you configured the extension, you can start using the chat to interact with CodeDefender service.
The current list of known issues: