Run an analysis with Visual Studio Code extension

In the IDE, observe that the extension is already picking up the files and uploading them for analysis.

Snyk Open Source requires the Snyk CLI, so it is downloaded in the background.

Snyk Code analysis runs quickly without the CLI, so results may already be available. Otherwise, you see the following screen while Snyk scans your workspace for vulnerabilities and issues:

Snyk analysis runs automatically when you open a folder or workspace.

  • Snyk Code performs scans automatically on file saves (can be disabled by setting Scanning Mode to manual).

  • Snyk Infrastructure as Code (Configuration) scans automatically on file saves (can be disabled by setting Scanning Mode to manual).

  • Snyk Open Source does not automatically run on save by default, but you can enable auto scan in settings:

if you do not like to manually save while working, enable AutoSave.

Rescan

To trigger a scan manually, either Save or manually rescan using the rescan icon:

If you need only ,the Code Quality, Code Security, Open Source Security or Configuration portion of the findings, you can disable the feature with the results you do not want to see or collapse the view:

Last updated

More information

Snyk privacy policy

© 2023 Snyk Limited | All product and company names and logos are trademarks of their respective owners.