Hacker News new | ask | show | jobs
by spiralx 1127 days ago
Add `// -----------------` in between blocks to work around this issue, and IMO provide much better delineation of content blocks e.g. imports vs definitions.

I do miss C#'s use of macros to allow defining arbitrary blocks that can be named and folded though.

1 comments

In Jetbrains Webstorm you can create foldable regions. Happy customer.

https://www.jetbrains.com/help/webstorm/working-with-source-...