CLion
 
Get CLion
You are viewing the documentation for an earlier version of CLion.

Sticky lines

Last modified: 03 July 2024

The sticky lines feature pins key structural elements, such as function or class 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.

CLion: Sticky lines in the editor

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

By default, the Show sticky lines feature is enabled.