0

How do I fold indented .ts comments in vscode. I could have sworn I used to be able to do this but can't anymore. For example, here the folding is not there when I hover over the Imports comment side.

enter image description here

Paul Kruger
  • 2,094
  • 7
  • 22
  • 49

1 Answers1

1

See the answer here: Code Folding for CSS in VSCode

To enable indented-comment-folding add this to your settings:

"[css]": {
  "editor.foldingStrategy": "indentation"
},

css can be replaced with scss typescript javascript html...

Paul Kruger
  • 2,094
  • 7
  • 22
  • 49