RustRover
 
2023.3
Get RustRover
Because RustRover 2023.3 is still in development, this documentation may not be entirely accurate and is subject to change.

Intention actions

Last modified: 08 April 2024

As you work in the editor, RustRover analyzes your code, searches for ways to optimize it, and detects potential and actual problems.

As soon as the IDE finds a way to improve your code, it displays a yellow bulb icon yellow bulb icon in the editor next to the current line. By clicking this icon, you can view the intention actions available in the current context. Intention actions cover a wide range of situations from warnings to optimization suggestions. You can view the full list of intentions and customize them in the Settings dialog CtrlAlt0S.

A red bulb with an exclamation mark the Quick-fix icon indicates that RustRover has detected a problem, and prompts you to select an associated fix — a quick-fix. Quick-fixes and intention actions together are called context actions.