RubyMine 4.0.0 Web Help

4.0+↓

View | Tool Windows | Inspection

View | Tool Windows | Inspection

The Inspection tool window displays inspection results in separate tabs. The left pane of each tab shows a tree view of inspections, for which the problems are reported; the right pane shows summary information on each inspection.

In this topic:

Toolbar buttons

Item Shortcut Description
rerun Ctrl+F5Control F5 Click this button to execute inspection and show results in the same tab.
close Ctrl+Shift+F4Command Shift F4 Click this button to close active tab.
expandAll.png Ctrl+Add Command Add or Ctrl+Equals Command Equals Expand all nodes
collapseAll Ctrl+Subtract Command Subtract or Ctrl+Minus Command Minus Collapse all nodes
arrowDown Ctrl+Alt+DownCommand Alt Down Navigate to the next item.
arrowUp Ctrl+Alt+UpCommand Alt Up Navigate to the previous item.
autoScrollToSource Toggle the Autoscroll to source mode. When the button is pressed, every time the node is focused, the corresponding line of source code is highlighted in the editor.
exportToTextFile Click this button to export inspection results in XML or HTML format.
help F1F1 Show reference.
groupBySeverity If this button is pressed, the problems reported by the code inspection are grouped into Errors and Warnings. Otherwise, the problems are grouped by inspections.
directory If this button is pressed, the items show under the corresponding directory nodes.
commonfilter When this button is pressed, the resolved and excluded items to not display in the tool window.
icon_compare If you run inspections several times in the same tab, press this button to filter differences.
diffOnly If you run inspections several times in the same tab, press this button to hide items that did not change since the previous inspection.
settings Click this button to edit the current inspection settings.
intentionBulb quickfixBulb Alt+EnterAlt Enter Click this button to resolve the problem for the selected inspection item, by choosing one of the available quick fixes from the list.
hectorBack Click this button to disable, suppress of run the selected inspection.

Context menu commands

Item Shortcut Description
Jump to Source F4F4 Open in the editor the file that contains the selected problem, and place the caret at the beginning of the respective code fragment.
Find Usages Alt+F7Alt F7 Search for usages of the selected file.
Exclude DeleteDelete Exclude the selected items from further examination. Excluded nodes are marked with a strikethrough. If the filter button commonfilter is pressed, the excluded nodes are hidden.
Include InsertInsert Include previously excluded items to the list of results. All nested subelements are included too.
intentionBulb quickfixBulb Alt+EnterAlt Enter Accept one of the suggested solutions to fix the problem.
Edit Settings Change settings for the selected inspection, or group of inspections, in the Errors dialog.
Disable inspection Disable alerts for the selected inspection in the active tab of results. If the filter button commonfilter is pressed, the nodes for disabled inspections are hidden.

You can also disable an inspection in general.

Run inspection on Rerun the selected inspection and display results in a new tab.
Suppress problem/
Suppress problem for class
Suppress inspection for the selected problem in general, or for the selected class.
Local history Perform local history actions.

Inspection results report

The inspection results report appears in the right pane of the results tab, when an inspection node is selected in the left pane. The report includes the following sections:

  • Name: this is the name of the class or member where the problem has been detected.
  • Location: this is a hyperlink to the class, where the problem has been detected.
  • Problem synopsis: shows a brief description of the problem.
  • Problem resolution: this optional field provides a list of possible solutions. Clicking a hyperlink invokes the corresponding action. If no hyperlinks are present, it means that you have to fix the problem yourself.

See Also

Concepts:

Reference:

Getting Started:

Web Resources: