vscode-explicit-folding
vscode-explicit-folding copied to clipboard
Question: Is it possible to replicate Visual Studio folding behaviour?
Considering the line above a free-standing opening bracket as the parent for folding. Like so:
Whereas the experience in VSCode is considerably worse:
Aside from folding at the wrong point, leaving twice as much vertical space consumed (which is the main thing I'm concerned with), VSCode also does a worse job of hiding the bracket; Visual Studio greys out the entire hidden {...};, while VSCode shows a white { with a greyed out ... which stands out strangely.
I'm aware that I can put the bracket on the same line as its parent, but changing my entire style of coding is painful. It's hard to go back to Visual Studio after having gotten VSCode almost perfectly configured to my tastes, so it would be wonderful if there were a solution to my folding woes, as it's the only sore point I have.