Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 99415

Prevent VSCode from unfolding code when cursor moves past folded section

$
0
0

Is it possible to prevent VSCode from unfolding a folded code section if I move past it with my cursor using the arrow keys?

A common workflow I have coming from Atom is to fold parts of my code, then move my cursor down below the folded sections to get to later sections of a file. If I do this in VSCode, the folded section will unfold as soon as my cursor crosses the top of the section. I want it to move past it instead.

Here's an example:

enter image description here

I searched my prefs and Google for a setting, but couldn't find one.


Viewing all articles
Browse latest Browse all 99415

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>