Snap
Snap copied to clipboard
Ability to remove arbitrary variadic inputs
I've often refactored code and wanted to delete the first / second declaration of a script variable. If I have any more than 2-3 variables to the right of the one I want to delete, this becomes a pain...
It would be nice if there were a right click option "delete" that simply removed that variable from the input list.
As I write this -- really, this is a problem with all variadic inputs, I suppose. I guess it would be handy to have a "Remove input" option from any variadic input slot. I've definitely seen join blocks with a blank input or two, simply because cleaning things up can be a hassle.
For script variables, this could be an option in the rename dialog, as when you click on a formal parameter in the prototype. For actual input slots I guess it'd have to be a context menu option.