Comments (8)
@edwardbiz I feel like that's more possible, or easier, now with the sequential numbering of duplicate names. My perfect solution would be to do a symbol comparison, and to ensure only exact duplicates were being remapped and removed, with 100% accuracy... so this is what I will be striving for. Needless to say, I am still thinking about this one. :)
@illustree I am going to go ahead and close this issue as its been a couple weeks since I implemented your request. As always, thanks for the feedback and for using Symbol Organizer!
from symbol-organizer.
This is in fact the next logical thing to tackle for this plugin, which I have thought about quite a bit. In the least, I could do option A relatively easily, and it would help when consolidating similarly named symbols into one (making them easier to decipher which is the "master" and which can be deleted after instances have been pointed to the master).
Option B however is a bit more tricky... I would want to verify that the contents of two symbols with the same name are identical. Without this validation, I could see this being inadvertently destructive.
Here are a couple situations that I would need to account for...
- You inadvertently used the same name for two symbols, but the symbols are in fact very different. Option A would solve this at least.
- Unbeknownst to you, you have two versions of the same symbol with the same name (typically after a copy/paste), and make a change to one expecting it to be propagated everywhere, not realizing that it hasn't been. Now one is slightly different than the other. Which one is right?
I plan to look for some ability to compare symbols, and if this can be done with confidence, I would implement something like option B, as I think this is the last glaring symbol issue this plugin could tackle.
As always, thanks for your continued use and feedback!
from symbol-organizer.
A. would be already much appreciated! it is really often the case that there are e.g. icons with little changes and from the list preview you just can't recognise which is the correct one. I understand “B” could be really tricky ... thanks in advance for what ever you are going for
from symbol-organizer.
I just committed an update which includes an option to sequentially rename duplicate symbols, as well as improves the appearance of the plugin. Please give it a spin!
from symbol-organizer.
@sonburn Maybe you could allow the user to choose which layer should be deleted ? Manually ? So you don't really need to build the logic of comparing the items. You just leave it to the user.
A little bit like duplicated songs in iTunes ? Maybe ?
from symbol-organizer.
So I really wish you had let this stay open, as I think this is still something to consider. Honestly, if someone is using the same name for a symbol, then they aren't using symbols correctly. This was posted a year ago, and it's pretty much exactly what needs to exist.
from symbol-organizer.
@ZillieZephyr I would love to solve it, but it's a very difficult problem to solve (hence why nobody else has done it, not even Sketch itself)... but it does look like Sketch does have some quality of life Symbol management/duplicate avoidance stuff planned for the future. Until then, I personally will keep being diligent about avoiding duplicate symbols to begin with.
from symbol-organizer.
@ZillieZephyr Latest version of Sketch supposedly fixes the annoying bug of symbol masters being duplicated when copying/pasting - https://cldup.com/7qydxgljPP.png
from symbol-organizer.
Related Issues (20)
- Symbol Organizer does not work HOT 1
- Suffix added to each symbol name after running symbol organizer HOT 2
- Force settings within a file/library
- Numeric sorting seems bugged again. Eg. 0px -> 12px -> 16px -> 4px -> 8px HOT 1
- Remove text style "Group title" HOT 1
- Sorting with Symbols (e.g. • or –) not correct
- Sorting order is wrong
- Subgrouping and sorting
- Doesn't seem to be working in 72 HOT 19
- Sketch 72 vs Symbol organizer HOT 1
- Sketch Version 72 (124316) - Plugin does not do nothing HOT 1
- the plugin moves all my dartboards to symbols
- "Remove unused symbols" doesn't work
- Symbol remover
- "Remove Unused Symbols" functions doesn't work on Macbook M1 HOT 1
- Looks like Ventura kills symbol-organizer. Sketch Version 89 (147688), macOS 13 Beta (22A5286j)
- Where is symbol-organizer-master.zip
- I can't remove unused symbols anymore
- No response to "Remove uunused symbols" in sketch "Symbol Organizer"
- Plugin not working anymore in Sketch 94.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from symbol-organizer.