Is there a way to fold JSDoc-style comment blocks in VSCode v1.25 for JavaScript files? I get normal code collapse offered, but comment blocks seem excluded. Is there a keyboard shortcut that would collapse code even without the GUI handlebars showing?
相关问题
- Extended message for commit via Visual Studio Code
- Where are Automatic Type Acquisition typescript de
- Typescript: Why doesn't visual studio code rep
- .NET Core 3.1 CreateHostBuilder Cannot parse JSON
- How to get VS Code debug data like breakpoints, st
相关文章
- Visual Studio Code, MAC OS X, OmniSharp server is
- Omnisharp in VS Code produces a lot of warnings ab
- Visual Studio Code command for “repeat last comman
- VSCode remove warnings from problems tab
- How to escape @ sign inside JSDoc comments in NetB
- Configure a TypeScript project with common depende
- Visual Studio Code disabling Normal, Edit and Visu
- Vscode: error TS2307: Cannot find module 'vsco
I had the same issue, and fixed it by doing this:
Go to
File
->Preferences
->Settings
and change the following entry fromauto
toindentation
Now JSDoc comments are folding as expected, hope this works for you as well!
will fold block comments, like jsdoc. But I don't see a command for specifically unfolding (all or just) )block comments. But you can use:
o do that when cursor is on that line of folded jsdoc comment.