Eyep, when using "editor.foldingStrategy": "auto" the block-closing bracket and everything after on the same line gets eaten up. Unlike it is with "editor.foldingStrategy": "indentation". It can be extremely misleading, like for example in if else case:
VS. "editor.foldingStrategy": "indentation"
0
M Komaei
On
use this setting :
"editor.foldingStrategy": "indentation"
The same issue was reported here https://github.com/microsoft/vscode/issues/47240, I got a fix from that page
Here is the specific comment that resolves the issue https://github.com/microsoft/vscode/issues/47240#issuecomment-379490218
Eyep, when using "editor.foldingStrategy": "auto" the block-closing bracket and everything after on the same line gets eaten up. Unlike it is with "editor.foldingStrategy": "indentation". It can be extremely misleading, like for example in if else case:
VS. "editor.foldingStrategy": "indentation"