CodeLogic Extension (Visual Studio Code)
CodeLogic plugins and extensions display this dependency information within supported IDE's. With this additional dependency information, developers can make a more informed decision about code changes.
The CodeLogic Visual Studio Code Extension is compatible with Visual Studio Code 1.66.2.
- Download the Visual Studio Code Extension
- Install the Extension
- Configure the Extension
- Use the Extension to Find Item Dependencies
Before You Begin
You must have CodeLogic installed. You also need to have performed a binary scan of your application.
Download the Visual Studio Code Extension
-
Click Admin and then select the Installers tab.
-
Click Download on Extension for Visual Studio Code to download the extension.
- The Visual Studio Code Extension downloads as a VSIX file.
Install the Extension
- Open Visual Studio Code.
- Select Extensions from the Activity Bar on the left.
-
Click the Views and More Actions... icon and select Install from VSIX....
-
Select the VSIX file and click Install.
- CodeLogic Visual Studio Code Extension is now listed under your installed extensions.
Configure the Extension
Warning
Due to a bug in VSCode, you must ensure that gnome-keyring
is installed on Linux systems before configuring the plugin.
- From the Visual Studio Code menu bar, click File > Preferences and select Settings.
- Enter CodeLogic in the search bar.
- The CodeLogic settings are displayed.
- Enter the Server URL of the CodeLogic Server.
- Example Server URL:
http://192.168.1.1/codelogic/server
.
- Example Server URL:
- Enter the Username for your CodeLogic Server.
- Enter the password for your CodeLogic Server.
- Press Ctrl + Shift + P on your keyboard.
- Search for CodeLogic.
- Select CodeLogic Update Password.
- Enter your CodeLogic Server Password.
- Authenticate your password.
- Press Ctrl + Shift + P on your keyboard.
- Search for CodeLogic.
- Select CodeLogic Authenticate.
-
Note
If authentication fails, try reentering your password.
- Select your Workspace.
- Press Ctrl + Shift + P on your keyboard.
- Enter CodeLogic Update Workspace in the search bar.
- Select the Workspace from the list.
-
Note
For more information, see Workspaces.
Use the Extension to Find Item Dependencies
- Open your code in Visual Studio Code.
- Right-click on a method, class or field and select CodeLogic - Find All References.
- Select CodeLogic from the Activity Bar on the left.
- Expand the items to view the dependencies.
- Select an item to be taken to the Item Details page in CodeLogic.