RustRover 2024.1 Help

Problems tool window

Problems tool window show the detected issues in the currently opened file and in the whole project, as well as the results of code inspections you run manually.

Inspect Code results

You can select any problem in the window and press F4 or double-click it to jump to the corresponding line in the editor.

To cycle through the tool window tabs, press Alt+Right and Alt+Left.

The IDE continuously checks your code and searches for problems. This tab lists all code issues found in the current file. The list is updated as you switch between files in the editor.

File tab of the Problems tool window

Toolbar

Item

Tooltip and shortcut

Description

View Options

View Options

Filter out code issues by their severity and configure their sorting. When no grouping or sorting options are selected, the issues are listed in the order they appear in the file.

the Show Quick Fixes button

Show Quick-Fixes Alt+Enter

Show quick-fixes available for the selected problem.

the Open Editor Preview button

Open Editor Preview

Open the preview pane to view the selected issue in its source context right in the Problems window. Note that this preview is a normal editor where you can change the code and apply available quick-fixes.

Context menu

Item

Shortcut

Description

Show Quick-Fixes

Alt+Enter

Show quick-fixes available for the selected problem.

Copy Problem Description

Ctrl+C

Copy the problem description to the clipboard.

Jump to Source

F4

Open the code containing the problem in the editor.

Show Error Details

Open error details in a separate dialog.

This tab displays problems detected across your project by the project-wide analysis.

Project Errors tab of the Problems tool window

Toolbar

Item

Tooltip and shortcut

Description

View Options

View Options

Filter out code issues by their severity and configure their sorting. When no grouping or sorting options are selected, the issues are listed in the order they appear in the file.

the Show Quick Fixes button

Show Quick-Fixes Alt+Enter

Show quick-fixes available for the selected problem.

the Open Editor Preview button

Open Editor Preview

Open the preview pane to view the selected issue in its source context right in the Problems window. Note that this preview is a normal editor where you can change the code and apply available quick-fixes.

Expand All

Expand All

Expand all nodes.

Collapse All

Collapse All

Collapse all nodes.

Context menu options

Item

Shortcut

Description

Copy Problem Description

Ctrl+C

Copy the problem description to the clipboard.

Jump to Source

F4

Open the code containing the problem in the editor.

Show Error Details

Open error details in a separate dialog.

This tab appears when you run code inspections manually and shows the analysis results.

Inspections tab of the Problems tool window

Toolbar

Item

Shortcut

Description

Rerun Inspection

Ctrl+F5

Run the inspection and show the results on the same tab.

Previous Problem

Ctrl+Alt+Up

Navigate to the previous problem.

Next Problem

Ctrl+Alt+Down

Navigate to the next problem.

Apply a quickfix

Alt+Enter

Resolve the problem for the selected inspection item by choosing one of the available quick fixes from the list.

the Settings button

Change the settings for the selected inspection or group of inspections in the Errors dialog.

View options

Group or filter found problems according to the selected option:

  • Directory: group detected problems by directory.

  • Severity: group detected problems by the error and warning severity. Otherwise, group the problems by inspection.

  • Filter resolved items: hide resolved problems.

Expand All

Ctrl+NumPad +

Expand all nodes.

Collapse All

Ctrl+NumPad -

Collapse all nodes.

Export

Export the inspection results into XML or HTML format.

Context menu options

Item

Shortcut

Description

Jump to Source

F4

Open the file that contains the selected problem in the editor and place the caret at the beginning of the corresponding code fragment.

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 elements are included too.

Alt+Enter

Select one of the suggested solutions.

Suppress problem

Suppress the inspection for the selected problem.

Edit Settings

Change the 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 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.

Reports Rustfmt errors.

Rustfmt Log tab of the Problems tool window

The tab appears when RustRover applies Rustfmt to a file (either triggered by the user or on saving), and Rusfmt encounters error(s). To access the tab, follow the link in the notification:

Notification about a Rustfmt error with a link to the Rustfmt Log tab
Last modified: 17 May 2024