Plug-in introduction:
Name Organizer is a plug-in that standardizes naming. Naming is a very basic thing. It is not only a standardized treatment of your design draft, making the design draft more readable, but also people who have collaborated with developers must know that, If you name the layers arbitrarily, it may bring extra workload to the development after further cutting, and it will take more time to find the required cutting, or further rename it. Furthermore, it will affect the harmony and progress of collaboration.
The function of this plug-in is to standardize the naming of your layers and artboards and adjust the order of your artboards with one click. By default, Sketch creates new artboards at the top of the list, so when you finish drawing a set of design drafts, the order of the artboards on the left and the order of the artboards on your right may be different.
The new artboard will be placed at the top
The Sort Artboards and Sort Artboards Without Numbers in the plug-in are here to help you automatically sort the artboards. The sorting is based on the order you place them in the drawing area on the right, that is, the x y coordinates of the artboards. In order to express the logical order of the artboard or the interactive process more intuitively, you can choose the sorting with numerical sequence, which will add 0x: at the beginning of the name for you.
In addition, if you have used Symbol or Style on your layer, it will rename your layer according to the relevant style you applied and the Symbol used. And the naming here also uses "camel case naming" to optimize the case of naming, and can effectively handle spaces. Of course, I would like to remind everyone to develop the habit of avoiding spaces in naming. Let your slicing be more in line with development and use specifications, making collaboration smoother.
Function introduction:
Sort Artboards - Sort the artboards according to their x,y coordinates and add a sequence prefix to the artboards
Sort Artboards Without Numbers - Sort artboards without number prefixes
Rename Layers - beautify the layer name and rename the layer according to the text applied to the layer, layer style, or the symbol it belongs to (global)
Installation method:
Download the ZIP package and unzip it
Open NameOrganizer.sketchplugin to install it automatically
it works
it works
it works