Git Product home page Git Product logo

symbol-instance-renamer's Introduction

Symbol Instance Renamer

Rename symbol instances to the name of their master.

Symbol Instance Renamer

runner-badge-blue

Usage

  • cmd option shift d - Rename all symbol instances on all pages to the name of their master
  • cmd option shift x - Rename all symbol instances on all pages, except the Symbols page, to the name of their master
  • cmd option shift p - Rename all symbol instances on current page to the name of their master
  • cmd option shift a - Rename all symbol instances in selected artboards to the name of their master
  • cmd option shift m - Rename all instances of the selected symbols to the name of their master
  • cmd option shift s - Rename selected symbol instances to the name of their master

Automatic

Search for Symbol Instance Renamer in Sketchrunner or Sketch Toolbox if you have one of those installed.

Once installed, Sketch will automatically notify you when an update is available (version 2.2 and later).

Manual

  1. Download and open symbol-instance-renamer-master.zip
  2. Navigate to Symbol Instance Renamer.sketchplugin and copy/move to your plugins directory

To find your plugins directory...

  1. In the Sketch menu, navigate to Plugins > Manage Plugins...
  2. Click the cog in the lower left of the plugins window, and click Reveal Plugins Folder

Changelog

  • 2.9 - Fix for Sketch 72.
  • 2.8 - Fixed 'Rename Selected Instance(s) with Options', and added handling for when a symbol instance's master is missing.
  • 2.7 - Update for Sketch 53.
  • 2.6 - Added new function to rename selected instances with additional options, and added plugin icon to manifest for Sketch 50.
  • 2.5 - Added new function to rename all instances within selected artboard(s).
  • 2.4 - Added new function to rename all instances of selected symbol(s).
  • 2.3 - Added new function to rename all instances on all pages, except Symbols page. Added fix for when the master for an instance is missing.
  • 2.2 - Added appcast plugin support for Sketch 45 and later. Added new function to rename all instances on current page. New shortcuts.

Contact

Find me on Twitter @sonburn

Support

If you find this plugin helpful, or would like to support my plugins in general, buy me ☕️ via PayPal.

License

Copyright (c) 2021 Jason Burns (Sonburn). See LICENSE.md for further details.

symbol-instance-renamer's People

Contributors

lmjabreu avatar sonburn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

symbol-instance-renamer's Issues

Rename all instances on all pages not working correctly

After clicking "Rename all instances on all pages", several instances got renamed. But after clicking it again, also several instances got renames. I can click "Rename all instances on all pages" all the time, and there will always be instances to be renames. Should be no instances to rename after 1st use of this option.
Sketch: 83.2
OS: Catalina 10.15.7
Plugin version: 2.9

Support Sketch 45 plugin update system

Hi there!

This is a quick note to remind you that Sketch 45 will include a plugin update system.

It would be awesome if you could add support to it (it's really easy!) before Sketch 45 comes out. Ideally, you should release an update for your plugin while we're still in Sketch 44, so your users will have a nice & easy experience when 45 is released.

For more details, please check http://sketchplugins.com/d/229-updating-plugins and http://developer.sketchapp.com/introduction/updating-plugins/

Thanks in advance!

Feature request: option for auto-rename

Any chances to run script automatically every time when I rename symbol?
It will be handy to siply check this option and forgot the plugin (and do not remember another shorcut).
Thanks

Feature Request

This is a very useful tool, thank you!

One thing I'm frequently finding myself doing: selecting all instances on a page and renaming them. I do this instead of "Rename All Instances" because I generally don't want to rename instances for nested symbols on the Symbols page. My suggestion is to add one or more of these actions:

  • Rename All Instances on Current Page
  • Rename All Instances, Excluding the Symbols Page

Nothing Happened

I´m trying to rename some Symbols but Nothing Happened... Nothing Changed

Feature Request: Rename to custom name

Possible to create option allowing renaming to a custom name for all features?

Tend to rename all symbol instance names manually vs just using the master symbol name so it's quicker to scan in the layer list.

E.g. Master Symbol = UI Kit / Buttons / Primary / 44px / Normal gets renamed as [btn-primary] once it's included in an artboard.

rename only selected instance

love this plugin! :-) have you ever considered giving an option to only rename the symbol instance that's currently selected?

use case: we often rename symbol instances intentionally to keep them short and crisp for nested symbol overrides. right now, these always get updated…

Symbol Instance Renamer and Sketch Libraries

Hi @sonburn thanks for this awesome plugin! Is it possible to have library symbols renamed and subsequently sync the named symbols with projects using the library? This is can't seem to get working. It works great when the symbols are renamed within the project though.

All the best,
Lasse

Thank you!

I have OCD (we all have it lol) and this Sketch plugin restored my sanity, thank you. BTW I would have gladly dropped $10 for this nice little thing. 👍

Feature Request: Rename to text override

Hi!
Thank you for developing - plugin is great!
I thought, say, for menu I use lots of instances of same symbol just overriding one of the texts.
It would be wonderful to rename them using symbol text placeholder name.
Please, check images below for clearance.
Thank you!

image
image
image

Nested symbols are not renamed

I love this plugin as it helps to keep symbol references correct. I noticed, however, if there are nested symbols, they do not get renamed after they are replaced with a different symbol.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.