I find the collapse level (Alt+1, Alt+2, etc) functionality of Notepad++ extremely han开发者_Python百科dy, but only the first level (Alt+1) seems to work for Python code. Manually collapsing a single code block works fine at any level, so it's not like Notepad++ can't handle the indentation-driven syntax.
Does anyone know of a plugin or maybe a setting I missed that would allow this functionality?
I did this to "Settings->shortcut mapper", and you have to do is "alt+1+2" (without releasing alt) all function of a class is collapsed
tecnically is fold all then unfold 1st level
You're right. Python collapse by shortcuts is only at level 1. There isn't any visible setting to fix that. Browsing at plugins page I didn't found anything. Maybe that folding issue is a bug. I suggest you to use Support & online help to get an explanation and/or solution, or submit a bug report if you can't find that.
精彩评论