开发者

how to fold only functions, methods in notepad++

开发者 https://www.devze.com 2023-02-10 22:14 出处:网络
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 f

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 se开发者_StackOverflow社区tting somewhere in notepad++ that I missed.

Thanks


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消