4

Is there any way to create custom named regions for Notepad++ to fold them?

I've seen some talk about it but found no functional example of how to.

mklement0
  • 312,089
  • 56
  • 508
  • 622
Hikari
  • 3,609
  • 11
  • 42
  • 70
  • 3
    Possible duplicate of [notepad++ user defined regions with folding](http://stackoverflow.com/questions/3761206/notepad-user-defined-regions-with-folding) – henginy Oct 09 '15 at 11:49
  • http://stackoverflow.com/questions/9251858/hide-comments-in-notepad Duplicate (2010 is the earliest I could find). – Wolfpack'08 Feb 27 '16 at 20:53

2 Answers2

5

I use:

//{ NAME OF REGION/BLOCK

//}
kscius
  • 356
  • 9
  • 13
3

I think that everything you need to know is described here:

http://udl20.weebly.com/folding-in-code.html

it's official documentation, you can find link to it in custom language editor:

"Language\Define your language ..."

moped
  • 2,134
  • 2
  • 25
  • 30