mcneel / ghpython

A Grasshopper component for Rhino.Python
http://www.food4rhino.com/project/ghpython
117 stars 34 forks source link

Wish: Shortcut or button which "Collapses" all functions, classes etc. #45

Open AndersDeleuran opened 11 years ago

AndersDeleuran commented 11 years ago

I added a wish on the Grasshopper forum asking if one could "collapse" or "close" all the functions and classes within a script : http://www.grasshopper3d.com/forum/topics/grasshopper-python-script-editor-keyboard-shortcuts?commentId=2985220%3AComment%3A682276

sbaer commented 11 years ago

When implemented this should be CTRL + SHIFT + minus key since that is what the EditPythonScript editor uses

AndersDeleuran commented 11 years ago

Nice, this will be very useful when wrangling large scripts. I didn't even knew that one could do this in the main editor! You might want to consider adding shortcut keys to the documentation.

Edit I: Just realized that it is documented (very nicely actually) within the dropdown menus. My bad. Edit II: Perhaps the "Toggle Outlining" function could be assigned a shortcut as well, maybe CTRL + SHIFT + Plus Key.