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

30 Views Asked by At

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,

1

There are 1 best solutions below

1
Faisal Ahmed On BEST ANSWER

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