4 ms·
> I’m assuming vscode has it also. Sadly I believe this assumption is incorrect. VSCode supports folding, but not specifically method bodies (to my knowledge),
by ericyd 2y ago
> I’m assuming vscode has it also.
Sadly I believe this assumption is incorrect. VSCode supports folding, but not specifically method bodies (to my knowledge), and not by default (with or without a settings flag)
- seanhunter 2y agoWeird. OK well you can absolutely do this in vim should you ever want to ':help foldlevel' and ':help foldexpr' will tell you how. Also 'conceallevel', although whoever came up with that I hope they suffer endless torment. I really hate that feature with a passion.
- ballenf 2y agoAnd the folding will hide parameters if they flow to a second line, ime. Whether this is on by default or not is not the issue. It's just getting "smart" folding in vscode that would be the feature win.