Inspection tool window
The Inspection tool window displays inspection results on separate tabs. (An inspection is a search for potentially problematic code fragments.)
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.
On this page:
Context menu commands
|Jump to Source||F4||Open the file that contains the selected problem in the editor and place the cursor at the beginning of the corresponding code fragment.|
|Find Usages||Alt+F7||Search for usages of the selected file.|
|Exclude||Delete||Exclude the selected items from further examination. Excluded nodes are shown strikethrough. If the filter toggle is on, the excluded nodes are hidden.|
|Include||Insert||Include previously excluded items in the list of results. All nested subelements are included too.|
|Alt+Enter||Select one of the suggested solutions.|
|Edit Settings||Change the settings for the selected inspection or group of inspections.|
|Disable inspection||Disable alerts for the selected inspection in the active tab of results. If the filter toggle is on, the nodes for disabled inspections are hidden.|
|Run inspection on||Rerun the selected inspection and display the results on a new tab.|
|Suppress problem||Suppress the inspection for the selected problem.|
|Local history||Perform a local history-related action.|
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 includes the following:
- Name. The name of the file where the problem has been detected.
- Location. The hyperlink to the file.
- Problem synopsis. A brief description of the problem.
- Problem resolution. A list of possible solutions (if available). Clicking a hyperlink invokes the corresponding fix. If no hyperlinks are present, you have to fix the problem yourself.