marcin_koss
marcin_koss

Reputation: 5882

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

Upvotes: 6

Views: 2367

Answers (1)

Mario
Mario

Reputation: 758

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.

Upvotes: 9

Related Questions