Run Polyspace as You Code in Visual Studio Code and Review 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
Get Started with Polyspace as You Code in Visual Studio Code
- Perform Polyspace as You Code Analysis in Visual Studio Code (Polyspace Access)
Configure, run, and manage Polyspace® as You Code in Visual Studio Code.
Usage
- Run Polyspace as You Code in Visual Studio Code and Review Results (Polyspace Access)
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
Look up the Polyspace code annotation syntax for justifying known issues.
Installation and Configuration
- Install Polyspace as You Code Using Installer (Polyspace Access)
Install Polyspace as You Code analysis engine and IDE extensions.
- Install Polyspace as You Code Extension in Visual Studio Code (Polyspace Access)
- Configure Polyspace as You Code Extension in Visual Studio Code (Polyspace Access)
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 (Polyspace Access)
Extract build configuration information from build task, build command, or JSON compilation database. - Configure Checkers for Polyspace as You Code in Visual Studio Code (Polyspace Access)
Create, modify, or import selection of Polyspace defect checkers and coding rule violations.
- Analysis Scope of Polyspace as You Code (Polyspace Access)
- Set Baseline Polyspace as You Code Results in Visual Studio Code (Polyspace Access)
Get baseline and focus on new results only, import review information, get integration context information.