A Visual Studio Code extension for Semgrep.
- See Semgrep scan results inline each time you save a file
- Choose which Semgrep rules you run by setting semgrep.rules in Visual Studio Code
You will need to install
You can do so with
pip install semgrep
brew install semgrep
on macOS. For other installation instructions, see the Semgrep README.
You can set the following options by going to Preferences > Settings:
Languages to run Semgrep scans on.
By default, this is set to all supported languages.
Rules to scan with. This will be passed as
--config to the
By default, it's set to https://semgrep.dev/p/r2c.
Please join the Semgrep community Slack workspace
for support if you run into problems.