vscode 将分组后的样式折叠起来
I had the same issue, and fixed it by doing this:
Go to Code
-> Preferences
-> Settings
and change the following entry from auto to indentation
1
"editor.foldingStrategy": "indentation"
Now JSDoc comments are folding as expected, hope this works for you as well!
https://stackoverflow.com/questions/51413448/jsdoc-comment-folding-in-vscode
效果图
参考
- https://stackoverflow.com/questions/51413448/jsdoc-comment-folding-in-vscode