Run Polyspace as You Code in Visual Studio Code and Review Results
Configure Polyspace® as You Code extension in Visual Studio Code, run analysis, see results
In Visual Studio Code, with the Polyspace as You Code extension, you can run a single-file analysis on file save or explicitly. The analysis checks the currently active file for defects (bugs), coding standard violations and other issues. The analysis results appear as source code markers and in a separate list.
Topics
Usage
- Run Polyspace as You Code in Visual Studio Code and Review Results
View Polyspace results as source code markers or in a list in Visual Studio Code editor, fix issues or justify results. - Annotate Code and Hide Known or Acceptable Results (Polyspace Bug Finder)
Look up the Polyspace code annotation syntax for justifying known issues.
Installation and Configuration
- Install Polyspace as You Code Using Installer
Install Polyspace as You Code analysis engine and IDE extensions.
- Configure Polyspace as You Code Extension in Visual Studio Code
Set Polyspace as You Code extension settings such as analysis launch mode and build configuration.
- Generate Build Options for Polyspace as You Code Analysis in Visual Studio Code
Extract build configuration information from build task, build command, or JSON compilation database. - Configure Checkers for Polyspace as You Code in Visual Studio Code
Create, modify, or import selection of Polyspace defect checkers and coding rule violations.
- Set Baseline Polyspace as You Code Results in Visual Studio Code
Get baseline and focus on new results only, import review information, get integration context information.