External linters
In addition to the built-in set of inspections, RustRover allows you to run Cargo Check and Clippy without leaving the IDE.
You can also configure RustRover to run Cargo Check or Clippy in the background.
Check external linter settings
To check which linter is enabled and whether it runs on the fly, hover over the linter widget in the status bar:
To make changes, click the widget. It will open external linter settings.
Configure Cargo Check or Clippy calls
Go to
.Set the Run external linter on the fly checkbox if you prefer the external linter to work as you type.
Select the preferred external linter and provide additional arguments if required:
Click Apply.
Run external linter
Before proceeding, check whether on-the-fly analysis is turned on or off.
If on-the-fly analysis is turned on, you don't need to trigger the linter – it is already running in the background.
If on-the-fly analysis is turned off, to call the linter, open the Cargo tool window ( ) and click .
Information about detected issues will appear in the Problems tool window, together with inspection results.