-
Notifications
You must be signed in to change notification settings - Fork 118
Visual Studio Code Extension
David Alcantar edited this page May 17, 2023
·
5 revisions
The DevSkim VS Code plugin is a Language Server Protocol client that communicates with the DevSkim Language Server. The language server uses the standard C# DevSkim engine for scanning.
The DevSkim VS Code plugin can be downloaded from the VS Code Extension Marketplace or installed from the VS Code extensions manager.
Alternatively, in VS Code, launch the Quick Open bar (Ctrl + P), and run the following command:
ext install ms-cst-e.vscode-devskim
This will install the DevSkim plugin in:
- Windows: %USERPROFILE%.vscode\extensions\vscode-devskim
- Mac/Linux: $HOME/.vscode/extensions/vscode-devskim
Once installed, you can use the Options panel in VS Code to modify DevSkim settings.
- Install Node.js
- Clone the DevSkim repository
- Navigate to the DevSkim-VSCode-Plugin folder from a command line, and install dependencies:
npm install
- From the DevSkim-VSCode-Plugin folder run:
npm run pack-ext
- Open the DevSkim-VSCode-Plugin folder in VS Code
- Use the Debug menu in VS code and select `"Clean + Launch VSC Client"