I often go in and make more specific labels for the assignments. It would be nice if there was a base set of standard automatic captions for certain common cases:
- Assign Variable -> False would give "Not Variable" or "Clear Variable"
- Assign Variable -> Variable + 1 would give "Increment Variable"
- Assign Variable -> Variable - 1 would give "Decrement Variable"
- Assign Variable -> NullIdentifier() would give "Clear Variable"
- Assign Variable -> "" would give "Blank Variable" (or "Clear Variable", sure)
For the Switch, it would be nice if, given that all conditions were in the same format, to automatically caption the arrow with the rvalue (e.g. Request = "admin" would show as "1 ("admin")" or "1 (admin)" instead of "1 (Request = "admin") )...
...and if the rvalue is a static entity, to caption the arrow with just the deepest identifier name, e.g. Directive.Verb = Entities.Verbs.Explode would show as "1 (Explode)" instead of "1 (Directive.Verb = Entities.Verbs.Explode)" (or whatever it gets cut off to)
If the lvalue is the same, it might also be nice to change the Switch to Switch <lvalue> (e.g. Directive.Verb = ___ for every condition would show "Switch Directive.Verb" or "Switch Verb" instead of "Switch")
I know it's a lot to ask, but it would be cool :)
-- Ritchie