Search code examples
filevisual-studio-codescrollidescreen

Visual Studio Code IDE splitting screen in same file (not wanted)


I have an weird issue with Visual Studio Code. I didn't split the screen, not collapsed some lines of code. Nevertheless, when I scroll down, there is some random line that gets fixed and screen gets divided by that.

enter image description here

top code fixed, bottom conde scrollable.

How can I undo this effect ??

Thank you in advance,


Solution

  • In Vs code,

    • STEP 1: Go to settings
    • STEP 2: Search Sticky on search bar
    • STEP 3: Uncheck Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.

    For more Info Visit here Sticky_Scroll