GoLand 2021.1 Help

Inspection results tool window

View | Tool Windows | Inspection Results

  • You can access the tool window this way only when it is already opened through Code | Inspect Code.

  • After you deactivate the tool window manually by clicking the Close button Icons actions close, the tool window is available again only through Code | Inspect Code.

The Inspection Results tool window displays inspection results on separate tabs.

The left-hand pane of each tab shows a tree view of the inspections for which problems are found. The right-hand pane shows summary information for an item selected in the left-hand pane.

Toolbar buttons

ItemShortcutDescription
Icons actions rerunCtrl+F5Click this button to run the inspection and show the results on the same tab.
Icons actions closeCtrl+Shift+F4Click this button to close the current tab or the tool window.
Icons actions expandallCtrl+NumPad +Expand all nodes
Icons actions collapseallCtrl+NumPad -Collapse all nodes
Icons actions next occurenceCtrl+Alt+DownNavigate to the next item.
Icons actions previous occurenceCtrl+Alt+UpNavigate to the previous item.
Icons nodes sort by severityIf this toggle is on, the problems are grouped into Errors and Warnings. Otherwise, the problems are grouped by inspections.
Icons actions group by packageTurns grouping by directories on or off.
Artwork studio icons common filterWhen this toggle is on, the resolved and excluded items are not shown.
Navigate with Single ClickTurns the Navigate with Single Click option on or off. When the option is on and you select an item, the corresponding source file opens in the editor and the appropriate fragment is highlighted.
Icons toolbar decorator exportClick this button to export the inspection results into XML or HTML format.
Icons general settingsClick this button to edit the current inspection settings.
Icons actions intention bulbAlt+EnterClick this button to resolve the problem for the selected inspection item by choosing one of the available quick fixes from the list.

Context menu commands

ItemShortcutDescription
Jump to SourceF4Open the file that contains the selected problem in the editor and place the cursor at the beginning of the corresponding code fragment.
ExcludeDeleteExclude the selected items from further examination. Excluded nodes are shown strikethrough. If the filter toggle Icons general filter is on, the excluded nodes are hidden.
IncludeInsertInclude previously excluded items in the list of results. All nested subelements are included too.
Icons actions intention bulb Icons actions quickfix bulbAlt+EnterSelect one of the suggested solutions.
Suppress problem/
Suppress problem for class
Suppress the inspection for the selected problem or the selected class.
Edit SettingsChange the settings for the selected inspection or group of inspections in the Errors dialog.
Disable inspectionDisable alerts for the selected inspection in the active tab of results. If the filter toggle Icons general filter is on, the nodes for disabled inspections are hidden.
Run inspection onRerun the selected inspection and display the results on a new tab.

Inspection report

The inspection report is shown in the right-hand pane of the results tab when an inspection node is selected in the left-hand pane. The report may include the following:

  • Problem resolution: A button for each of the available solutions. Clicking a button invokes the corresponding fix. If no buttons are present, you have to fix the problem yourself.

  • Suppress: Click this button to reveal the list of inspection suppress options.

  • Problem synopsis: A brief description of the problem.

  • Disable inspection: Disable alerts for the selected inspection in the active tab of results. If the filter toggle Icons general filter is on, the nodes for disabled inspections are hidden.

  • Run inspection on...: Rerun the selected inspection and display the results on a new tab.

Last modified: 09 July 2021