Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to fold only functions, methods in notepad++

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

like image 793
marcin_koss Avatar asked Feb 17 '11 17:02

marcin_koss


1 Answers

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.

like image 106
Mario Avatar answered Sep 22 '22 06:09

Mario