Sticky lines
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.
By default, the Show sticky lines feature is enabled.
Disable sticky lines
Right-click the sticky lines in the editor and click Disable Sticky Lines.
Right-click the gutter, select Appearance, and then deselect Show Sticky Lines.
Press Ctrl+Alt+S to open the IDE settings and then select Show sticky lines while scrolling checkbox.
. Clear the
By default, the number of sticky lines is limited to 5. To increase or decrease the number of sticky lines, use the corresponding field next to the Show sticky lines while scrolling option on the Editor | General | Appearance page of the IDE settingsĀ Ctrl+Alt+S.