IJ 2024.1: How to stop showing Block Context in Editor?

已回答

I just updated to IJ Ultimate to 2024.1, and it is constantly showing the class header and method declaration at the top of the editor (like a floating header) without me using the ‘Alt+q’ shortcut. How do I disable this?

0

Of course I would figure this out a few seconds after submitting a request:(

I just had to right click on those lines and a context menu shows that allows you to disable “sticky lines”. A new feature I guess.
There's also a Keymap action you can bind a shortcut to, although there's no keymap entry by default.

Here's the link to the feature “sticky lines” documentation.

https://www.jetbrains.com/help/idea/2024.1/sticky-lines.html

0

请先登录再写评论。