windows 10 19044.1706
vscode 1.67.2
python 3.10.2 (venv)
I've read this post
I'm still looking for fix settings
windows 10 19044.1706
vscode 1.67.2
python 3.10.2 (venv)
I've read this post
I'm still looking for fix settings
I'm guessing your problem is that under some operations, VS Code automatically expands your already collapsed code.
As far as the picture you show, you remove the closing bracket after method b
, then vscode's intellisense cannot get the end of method b
. So that it includes both methods c
and d
after method b
. Then methods a
, b
, c
become a whole when folded.
Hope it helps with your question.