DWilliames / paddy-sketch-plugin

Automated padding, spacing and alignment for your Sketch layers
MIT License
2.17k stars 61 forks source link

[Enhancement] Menu item to pad or size all layers within selected scope #61

Open frankko opened 6 years ago

frankko commented 6 years ago

Feature request / enhancement

1.0.5’s enable/disable automatic detection is interesting, but when it’s disabled, reapplying padding or spacing to my layers is cumbersome on large documents, as the new Enter padding for selection and Spacing for selection commands seemingly accept only one selection. Or maybe I’m wrong and it accepts multiple selections if their padding or spacing values are the same. Either way, a more efficient solution (for me, not for you, I’m sure) would be to let me select one or more artboards, layer groups, or layers, run a single command, and have Paddy find the applicable layers within that scope and do its thing.

Or if its too much to go top-down, let me select a deeply nested layer or group and run a command and have Paddy do the equivalent of what it would have done if detection was on and I hit ESC over and over again. (How ESC worked in 1.0.2, if possible, which seemed to go back down on sibling groups; 1.0.5 doesn’t seem to do that any more.)

Thanks for listening.

DWilliames commented 6 years ago

Thanks @frankko. That's a great idea!

At the moment; Enter padding/spacing for selection does work for multiple selections; however it prompt you to enter a value; which it will apply to all of your selection – which is probably not ideal if they are all different, and you just want to 'update' them.

I think there definitely warrants an Update for selection option.