ghpython icon indicating copy to clipboard operation
ghpython copied to clipboard

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

Open AndersDeleuran opened this issue 12 years ago • 2 comments

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

AndersDeleuran avatar Sep 13 '12 12:09 AndersDeleuran

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

sbaer avatar Sep 13 '12 15:09 sbaer

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.

AndersDeleuran avatar Sep 14 '12 08:09 AndersDeleuran