WebStorm 6.0.1 Web Help

View | Tool Windows | Inspection

View | Tool Windows | Inspection

Note

  • You can access the tool window this way only when it is already opened through .
  • After you deactivate the tool window manually by clicking the Close button close.png, the tool window is again available only through .

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

In this topic:

Toolbar buttons

ItemShortcutDescription
img Ctrl+F5Command F5 Click this button to execute inspection and show results in the same tab.
img Ctrl+Shift+F4Ctrl+Shift+F4Click this button to close active tab.
img Ctrl+Add; Ctrl+EqualsCtrl+Add; Ctrl+Equals Expand all nodes
img Ctrl+Subtract; Ctrl+MinusCtrl+Subtract; Ctrl+Minus Collapse all nodes
img Ctrl+Alt+DownCtrl+Alt+Down Navigate to the next item.
img Ctrl+Alt+UpCtrl+Alt+Up Navigate to the previous item.
img 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.
img F1F1 Show reference.
img 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.
img If this button is pressed, the items show under the corresponding directory nodes.
img When this button is pressed, the resolved and excluded items to not display in the tool window.
img If you run inspections several times in the same tab, press this button to filter differences.
img If you run inspections several times in the same tab, press this button to hide items that did not change since the previous inspection.
img Click this button to edit the current inspection settings.
img img 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.
img Click this button to disable, suppress of run the selected inspection.

Context menu commands

ItemShortcutDescription
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 img is pressed, the excluded nodes are hidden.
Include InsertInsert Include previously excluded items to the list of results. All nested subelements are included too.
img img Alt+EnterAlt+Enter Accept one of the suggested solutions to fix the problem.
Edit SettingsChange 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 button img is pressed, the nodes for disabled inspections are hidden.

You can also disable an inspection in general.

Run inspection onRerun 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 historyPerform 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: