The analysis settings for VS Code are organized a bit differently than the comparable settings for other development environments.

Rapid Scan Static configuration (VS Code)

Shows the status of the current Rapid Scan Static engine, and lets you turn on scanning while you type.


Rapid Scan Static Configuration tab in VS Code
Rapid Scan Static
If Rapid Scan Static is not already installed, this tab prompts you to do so.
In Auto Scan mode, analyze code as you type
When on, Code Sight runs a single-file Rapid Static scan interactively, while you are editing the source.

Default: Off

Remember: This option is also available for IntelliJ and the other JetBrains IDES, but for these it appears on the Rapid Scan Static panel.

Rapid Scan Static installation location (VS Code)

To specify the location of the Rapid Scan Static engine for VS Code, use the Rapid Scan StaticInstallation Location link that appears below “Code Sight > Config: Settings” on the Settings tab.

The Rapid Scan Installation Location tab lets you specify where to find the Rapid Scan Static executable.

Figure 1. Rapid Scan Installation Location tab for Code Sight in VS Code

Tab in VS Code for setting the location of Rapid Scan Static

Click Change to see a text field with a drop-down list, where you can specify a different location. After you have done so, click Apply.

Rapid Scan SCA: Configure paths (VS Code)

To specify locations used by the Rapid Scan SCA engine for VS Code, use the Rapid Scan SCA → Configuration link that appears below “Code Sight > Config: Settings” on the Settings tab.

Figure 2. Configure Paths panel for Rapid Scan SCA in VS Code

Path settings for Rapid Scan SCA in the VS Code UI
JAVA_HOME
Specifies the location of your local Java® installation.
MAVEN
Specifies the location of the executable for your locally installed Apache® Maven™ package manager.
NPM
Specifies the location of the executable for your locally installed npm® package manager.

The controls in this table are the same for each row:

  • Click Edit Configuration to specify a path for this location.
  • Click Reset to Default to reset the path.

    Some IDEs derive the JAVA_HOME value from the IDE configuration. For these environments, Reset to Default reverts to that value. Otherwise, it reverts to an empty path. The package manager settings always revert to an empty path.