sketch-select-similar-layers icon indicating copy to clipboard operation
sketch-select-similar-layers copied to clipboard

Select by Name isn't working - Latest Sketch 45.2 (43514)

Open JWhiteUX opened this issue 7 years ago • 10 comments

Straight up, isn't working. Trying to select all layers named "Rectangle 14 copy" across all artboards (20+). Doesn't work on the same artboard either.

JWhiteUX avatar Jul 26 '17 18:07 JWhiteUX

Second this in regards to "Fill Color" option – doesn't select anything within the same artboard

mishunov avatar Jul 29 '17 18:07 mishunov

Same issue for me. I fix it. Try my version.

https://github.com/thierryc/sketch-select-similar-layers

I create a pull request #18 .

thierryc avatar Aug 01 '17 17:08 thierryc

This still isn't working for me, even with thierryc's version (yesterday). Of 90 artboards all containing the same layer name, only 2-4 are selected.

pterisaur avatar Aug 02 '17 21:08 pterisaur

Please send me your sketch file to test it. (into a Git repo) if the file is not a secret file !

thierryc avatar Aug 02 '17 21:08 thierryc

Thanks @thierryc it does work for me even though it doesn't get into the symbols and even though I'm on Symbols page with all symbols expanded, contents of those doesn't get selected by the plugin. But I assume this might be related to their unusual nature and your fix does what it has to do according to this plugin's work scenarios. Well done. Thank you.

mishunov avatar Aug 03 '17 06:08 mishunov

@thierryc Here's a sample from the file. If I try to use the plugin to select all "Cell Background" layers, it's not working for me (it only selects 6 layers within the same group, not all 18 from the page). https://drive.google.com/open?id=0Bwjern-kH7rjSGRjZEpLY0VUUms

pterisaur avatar Aug 03 '17 15:08 pterisaur

@pterisaur Try my new version ! I fix it !

thierryc avatar Aug 03 '17 17:08 thierryc

select

thierryc avatar Aug 03 '17 17:08 thierryc

@thierryc That version works! Thank you!

pterisaur avatar Aug 04 '17 18:08 pterisaur

Please add a comment to the pull request (#18) also !

thierryc avatar Aug 04 '17 18:08 thierryc