DataGrip
 
Get DataGrip

Sticky lines

Last modified: 23 September 2024

The sticky lines (or sticky scroll) feature enhances your coding experience by maintaining the visibility of parent statement as you scroll through the file, offering immediate context to your code. You can also promptly navigate through the code by clicking a sticky line.

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

DataGrip: Sticky lines in the editor

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