how to fold only functions, methods in notepad++

2.3k Views Asked by At

I like the way netbeans folds functions and methods automatically when opening the file. I use notepad++ as well but when I use folding it will fold everything including html, if else conditions and functions. I would love to have the option to fold functions only. Does anyone know any plug-in that does that or maybe there is a setting somewhere in notepad++ that I missed.

Thanks

1

There are 1 best solutions below

1
On

There is a level shortcut: ALT (1-8) to fold and ALT+SHIFT (1-8) to Unfold
It folds everything in the same level:

level 2
<html>
  <head>
  </head>
  <body>
  </body>
</html>

Source.