Workflow in JetBrains IDEs, Eclipse, and Visual Studio
If no scan configuration yet exists when you start IntelliJ or another JetBrains IDE, Eclipse, or Visual Studio, Local View shows an Edit configurations button in the bar at top.
Click Edit configurations to open a Scan Configurations dialog where you can create new configurations.
Once you have created at least one scan configuration, the control that displayed Edit configurations changes to a drop-down menu. When not expanded, it displays the currently active configuration. When expanded, it displays configurations to choose from. Edit configurations remains a choice.
-
When you have chosen a scan configuration, click the Run Scan icon to run a scan.
-
When you have run more than one type of scan, you can click the “clock face” icon to choose which set of previous scan results you want to view.
Figure 2. Scan results drop-down menu
Attention: A blinking orange dot can appear on the clock face icon. This indicates that new results are available for a scan that you are not currently looking at—in other words, for a scan that has been running in the background.If you move your mouse to hover over the icon, a tooltip will mention this, and if you click to open the drop-down clock menu, the entry for the new scan will be prefixed with ‘(new)’.
Workflow in VS Code
-
In Local View, the first time you click Run Scan, Code Sight displays a drop-down menu that prompts you to create a scan configuration.
Click Configure scan to open a Scan Configuration tab that lets you create a configuration.
Once you have created scan configurations, they appear in the Scan Configuration controls and also in the drop-down menu.
Click the name of a scan configuration to run that particular scan. Issues found by the scan appear in the Local View list. When you click an issue in Local View, VS Code displays the code location and issue details as it did in the views from older Code Sight versions.