VSCode : auto unfold a region on cursor move, how to disable this behaviour?

Viewed 847

vscode automaticaly unfold region if I get my cursor down on it, it's bothering me and I don't find how to disable this behaviour. Do you know how can I do it ?

Thanks

EDIT:

I add an example, [] represent my cursor position

I am on the first line of my function which is fold:

myNic[]eFunction() {
}

I use the down arrow to move my cursor after the function but it automatically unfold the function and put my cursor on the first line of the function as follow:

myNicefunction(){
  // do[]es awesome
  // stuff
  // like print hello world
}
1 Answers
Related