Comparing Polaris scans

Code Sight Documentation

Version
2026.5.0

With Local View in JetBrains IDEs (including IntelliJ), Visual Studio, and VS Code, you can compare the results of different Polaris scans. For example, you might want to compare the issues found locally with those found on a server.

After you run a Polaris scan, Local View displays an entry above the issues list that reads “Compare with: [configure]” in IntelliJ and Visual Studio, or “Compare with: [Not Configured]” in VS Code.

Figure 1. Polaris comparison not yet configured (IntelliJ)
The "Configure" field before choosing a scan to compare

Click the “[configure]”/“[Not Configured]” field to display a drop-down menu of other local Polaris scans that have already been run.

Figure 2. “Compare with” entry for Polaris scans in Local View
Comparison control for local Polaris scans

Once you have chosen another Polaris scan for comparison. In IntelliJ and Visual Studio, the choices appear on three buttons.

Figure 3. Buttons for filtering Polaris comparisons in IntelliJ
Choosing which comparison results to display in IntelliJ

In VS Code, the choices appear in three icons that display on a line labeled “Show”, which appears below the “Compare with” line.

Show All results shows all issues found by the local scan.

Show Absent results only shows issues that are absent in the local scan but were found by the Compare With scan.

Show New results only shows issues that are present in the local scan but absent in the Compare With scan.