Hotkey for "Collapse All"

Whenever I'm about to save a script and check it into source control, I do a diff of the .fbp5 file to make sure I don't have any unintentional changes going in (yeah, reading a diff of the XML isn't fun, but it's not too bad, and it's pretty useful).  I often disable parts of the code when testing, or enable debugging code, and I want to make sure I get things back to the way they should be before checking it in.

To avoid a lot of extra diffs from NodeCollapsed properties in the xml, I always try to do a "Collapse All" on each of the action lists before saving, but it's a lot of mousework to do it for each action list. It would be nice if there was a hotkey for Collase All to speed this up so I could just select an action list, hit a key combination, then go to the next one.

I guess another, even better, alternative would be a global Collapse All that would collapse everything in all of the action lists in one fell swoop.

 Thanks,

    Keith

 

It is possible to do it all with the keyboard, if you have a “Windows enhanced” (or whatever they’re called) one. Assuming you’re on the first action of the first action list:

1. Press the “context menu” key (just left of the right Ctrl key). Or Shift-F10 if you don’t have that key.
2. Press Up 4 times.
3. Press right
4. Press down+enter, or C.
5. Press Ctrl+tab.
6. Go to step 1.

Now it’s a lot of keyboard work instead of a lot of mouse work…

Steve

Hi Keith,

I’ll see what we can do about the Collapse All shortcut.

In the meantime, you’ll probably be happy to know that we’re looking into abstracting this information out of the main project file for the next major release, so it will no longer trouble you when you need to diff versions. :-).

Regards,

Angus

This will make me very happy
I try to use show diff before checkin, and now it is very frustrating…
Daphna

Steve, Thanks, I think I’ll stick to the mousework. :slight_smile:


Angus, Cool, Thanks.


Keith