Scan a Folder Using Veracode for VS Code


You can scan all source files in a folder using Veracode for VS Code.

To scan a folder:
  1. Click Open Folder from the Visual Studio Code Explorer menu.
    Note: To avoid caching issues, do not start a scan of a file previously opened in the editor. Veracode recommends that you close the opened files and always re-open a folder from the activity bar.
  2. Select the folder.
  3. Choose one of these options to start the scan:
    • Click the V icon .
    • Use the shortkey, Ctrl+Shift+\.
    • Right-click the file and select Scan with Greenlight from the dropdown menu.
    • Open the command palette and enter the Scan with Greenlight command.