Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom regions for code folding in Notepad++

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.

like image 354
Hikari Avatar asked Feb 14 '23 04:02

Hikari


2 Answers

I use:

//{ NAME OF REGION/BLOCK

//}
like image 95
kscius Avatar answered Mar 21 '23 01:03

kscius


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 ..."

like image 37
moped Avatar answered Mar 21 '23 00:03

moped