Sketch原创插件: Name Organizer

柴英光
2023-12-01

安装方法

直接下载

  1. 下载 ZIP 包 解压
  2. 打开 NameOrganizer.sketchplugin 即可自动安装

使用 Sketchpacks 安装

使用 Runner 安装

  1. + ' 打开 Runner;
  2. 切换至 install 标签;
  3. 输入 NameOrganizer;
  4. 选择  Name Organizer回车.

示范

Name Organizer

使用 + + N 打开插件弹窗

Rename Layers

格式化/美化图层名.

Name Format

  • CamelCase
Foo Bar => FooBar
--for-bar-- => FooBar
__FOO_BAR__ => FooBar
复制代码
  • camelCase
Foo Bar => fooBar
--for-bar-- => fooBar
__FOO_BAR__ => fooBar
复制代码
  • kebab-case
Foo Bar => foo-bar
FooBar => foo-bar
__FOO_BAR__ => foo-bar
复制代码
  • snake_case
Foo Bar => foo_bar
--for-bar-- => foo_bar
FooBar => foo_bar
复制代码
  • Start Case
FooBar => Foo Bar
--for-bar-- => Foo Bar
__FOO_BAR__ => Foo Bar
复制代码

Sort Artboards

按画板所在的 x,y 坐标给画板排序.

Rename Layers

美化图层名,并根据图层所应用的文字、图层样式,或所隶属的 symbol 重名图层(全局)

使用 Runner 开启

1. + ' 打开 Runner;

  1. 输入 name;

反馈方式

 类似资料: