githubEdit

Visual Studio Code extension

Scan early, fix as you develop: elevate your security posture

Integrating security checks early in your development lifecycle helps you pass security reviews seamlessly and avoid expensive fixes down the line.

The Snyk Visual Studio Code extension allows you to analyze your code, open-source dependencies, and Infrastructure as Code (IaC) configurations. With actionable insights directly in your IDE, you can address issues as they arise.

circle-info

The extension also works for other VSCode-based IDEs such as Windsurf, Cursor, and Eclipse Theia.

Key features:

How to install and set up the extension

circle-info

For information about the versions of Visual Studio Code supported by the Visual Studio Code extension, see Snyk IDE plugins and extensionsarrow-up-right.

Snyk recommends always using the latest version of the Visual Studio Code extension.

You can use the Snyk Visual Studio Code extension in the following environments:

  • Linux: AMD64 and ARM64

  • Windows: 386, AMD64, and ARM64

  • macOS: AMD64 and ARM64

Snyk Visual Studio Code extension does not support remote and containerized environments:

Install the plugin at any time free of charge from the Visual Studio Code marketplacearrow-up-right and use it with any Snyk account, including a Free account. For more information, see the VS Code extension installation guidearrow-up-right.

When the extension is installed, it automatically downloads the Snyk CLI,arrow-up-right which includes the Language Serverarrow-up-right.

Continue by following the instructions in the other Visual Studio Code extension docs:

When the VS Code extension is installed for the first time, a modal will pop up asking users if they want to enable Secure at Inception capabilities via Snyk Studio. With Secure at Inception enabled, a file such as snyk_rules.mdc may be written to the directory.

For more information, see the Snyk Studio quickstart guides for Cursor, Windsurf, and Copilot.

Support

For troubleshooting and known issues, see Troubleshooting for Visual Studio Code extensionarrow-up-right.

If you need help, submit a request to Snyk Supportarrow-up-right.

Last updated

Was this helpful?