Menu

命名規則

Power Rename はデフォルトで以下の命名規則をサポートしています。
独自の命名規則を追加したい場合は、extensions ページを参照してください。

Append Prefix

指定した文字列を名前の先頭に追加します。

KeyTypeExampleDescription
PrefixstringNew追加する文字列

Example:

PrefixBeforeAfter
NewCubeNewCube

Append Sequential Number to Prefix

指定した桁数の連番を先頭に追加します。

KeyTypeExampleDescription
Digitsuint3桁数
Start Indexint0採番開始番号

Example:

DigitsStart IndexBeforeAfter
30Cube000Cube, 001Cube, ...

Append Sequential Number to Suffix

指定した桁数の連番を名前の末尾に追加します。

KeyTypeExampleDescription
Digitsuint3桁数
Start Indexint0採番開始番号

Example:

DigitsStart IndexBeforeAfter
30CubeCube000, Cube001, ...

Append Suffix

指定した文字列を名前の末尾に追加します。

KeyTypeExampleDescription
SuffixstringNew追加する文字列

Example:

SuffixBeforeAfter
NewCubeCubeNew

Remove Leading Spaces

名前の先頭にあるスペースを削除します。

Example:

BeforeAfter
CubeCube

Remove Prefix

指定した文字数を名前の先頭から削除します。

KeyTypeExampleDescription
Lengthuint3削除する文字数

Example:

LengthBeforeAfter
3NewCubeCube

Remove Suffix

指定した文字数を名前の末尾から削除します。

KeyTypeExampleDescription
Lengthuint3削除する文字数

Example:

LengthBeforeAfter
3CubeNewCube

Remove Trailing Spaces

名前の末尾にあるスペースを削除します。

Example:

BeforeAfter
Cube Cube

Replace by Regular Expression

正規表現によって名前を置換します。

KeyTypeExampleDescription
Patternstring\(\d+\)置き換え対象の正規表現
TostringString置き換える文字列

Example:

PatternToBeforeAfter
\(\d+\)StringCube(1)CubeString

Replace by String

指定した文字列によって名前を置換します。

KeyTypeExampleDescription
FromstringCube置き換え対象の文字列
TostringString置き換える文字列

Example:

FromToBeforeAfter
CubeStringCube(1)String(1)

To kebab-case

名前を kebab-case に変換します。

Example:

BeforeAfter
GameObjectgame-object

To lowerCamelCase

名前を lowerCamelCase に変換します。

Example:

BeforeAfter
GameObjectgameObject

To lowercase

名前を小文字に変換します。

Example:

BeforeAfter
GameObjectgameobject

To snake_case

名前を snake_case に変換します。

Example:

BeforeAfter
GameObjectgame_object

To Train-Case

名前を Train-Case に変換します。

Example:

BeforeAfter
GameObjectGame-Object

To UpperCamelCase

名前を UpperCamelCase に変換します。

Example:

BeforeAfter
gameObjectGameObject

To UPPERCASE

名前を大文字に変換します。

Example:

BeforeAfter
GameObjectGAMEOBJECT

To UPPER_SNAKE_CASE

名前を UPPER_SNAKE_CASE に変換します。

Example:

BeforeAfter
GameObjectGAME_OBJECT