Folding user areas in IntelliJ idea (typeScript)

In Visual Studio and Netbeans, I can add custom regions with line comments.

- visual style of the studio:

#region Description Your code goes here... #endregion

-netbeans style:

// <editor-fold desc="Description">
     Your code goes here...
// </editor-fold>

My question is: can I stack user regions in an intellij idea?

+4
source share
1 answer
  • Go to Code → Surround With .. (or Ctrl+ Alt+ T)
  • Select region..endregion Comments

See more details.

+4
source

Source: https://habr.com/ru/post/1657777/


All Articles