RustRover
 
2024.3
Get RustRover

Sticky lines

Last modified: 23 September 2024

The sticky lines (or sticky scroll) feature enhances your coding experience by maintaining the visibility of parent elements as you scroll through the file, offering immediate context to your code.

The sticky lines feature pins key structural elements, such as type and function declarations, to the top of the editor as you scroll, keeping scopes visible for quick navigation in large files and codebases.

You can also click any of the sticky lines to scroll the editor to the corresponding declaration.

RustRover: Sticky lines in the editor

By default, the maximum number of sticky lines is set to 5.