HTML tags "frozen" at top as I scroll through the document...

Answered

I just upgraded IntelliJ IDEA to 24.3.1.1 (Ultimate Edition) and there's this new “feature” that I absolutely hate and want to deactivate, but I can't figure out how…

When I scroll down through an HTML document, a CFC document, or a CFM document (the last two being Adobe ColdFusion documents), the HTML tag, the body tag, and the main div tag are all “frozen” at the top of the editor.  And as I scroll through the other div tags, they get “frozen” up there too, and then become “un-frozen” and scroll up off the top of the screen when I pass their ending div tag…

How do I disable this?!  I *despise* it! More than once I have gotten confused about how close to the top I am within a particular div tag,  and I wind up pasting code in the wrong place. Then I wind up having to spend time debugging my code that I shouldn't otherwise have to spend.  Extremely frustrating!!  Please help me turn this stupid “feature” OFF!

Here's my “About IntelliJ IDEA” information:

IntelliJ IDEA 2024.3.1.1 (Ultimate Edition)
Build #IU-243.22562.218, built on December 18, 2024
Licensed to xxxxxxxxxxxxx
Subscription is active until xxxxxxxxxx
Runtime version: 21.0.5+8-b631.28 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 15.2
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 12
Metal Rendering is ON
Registry:
 debugger.new.tool.window.layout=true
 ide.experimental.ui=true
 i18n.locale=
Non-Bundled Plugins:
 com.jetbrains.space (243.21565.122)
 CFML Support (243.22562.13)
 com.github.masahirosuzuka.PhoneGapIntelliJPlugin (243.21565.122)
 com.jetbrains.packagesearch.intellij-plugin (243.0.15)
 com.intellij.flex (243.22562.59)
Kotlin: 243.22562.218-IJ

Thanks for any help you can give me.

0
4 comments

So is there no way to stop this from happening?

0

Hi Laurence,

The feature is called “Sticky Lines”: https://www.jetbrains.com/help/idea/sticky-lines.html

You can disable it under File | Settings | Editor | General | Sticky Lines:

1

THANK YOU!!!! THANK YOU!!!! THANK YOU!!!! THANK YOU!!!! THANK YOU!!!!

*whew*  I was beginning to think I was just going to have to live with it this way.

Much appreciated!

0

No problem Laurence! 👍🏻

0

Please sign in to leave a comment.