thehogfather / brackets-code-folding

Code folding extension for brackets IDE
134 stars 42 forks source link

Shortcuts enhancement #25

Closed nmss closed 11 years ago

nmss commented 11 years ago

In notepad++ the "Alt 1" and "Shift Alt 1" shortcuts are used to collapse all and expand all, is it possible to add those shortcuts here too?

Also (not important, just a detail) to expand, "Ctrl Alt =" is ok, but is it possible to add "Ctrl Alt +" too ? for those who use the numeric keypad.

I don't know how to submit code so here is what I use

KeyBindingManager.addBinding(COLLAPSE, "Ctrl-Alt--");
KeyBindingManager.addBinding(EXPAND, "Ctrl-Alt-=");
KeyBindingManager.addBinding(EXPAND, "Ctrl-Alt-+");
KeyBindingManager.addBinding(COLLAPSE_ALL, "Alt-1");
KeyBindingManager.addBinding(EXPAND_ALL, "Shift-Alt-1");
thehogfather commented 11 years ago

Thanks for filing the issue. Should be fixed in the latest update.