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
  • 382,024
  • 64
  • 607
  • 775
Hikari
  • 3,797
  • 12
  • 47
  • 77
  • 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
  • 376
  • 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,197
  • 2
  • 24
  • 30