You can run a Greenlight scan on all source files in a folder from within VS Code.
Before You Begin
You meet the Greenlight prerequisites.
Steps
-
Click Open Folder from the Visual Studio Code Explorer menu.
Note: To avoid caching issues, do not scan a file that is already open in the editor. Close the open files and re-open a folder from the activity bar.
-
Select the folder.
-
Choose one of these options to start the scan:
- Click the V icon.
- Use the shortkey, Ctrl+Shift+\.
- Right-click the folder and select Scan with Greenlight.
- Open the Command Palette and enter
Veracode: Scan with Greenlight
.