A Visual Studio Code extension for Unity developers that simplifies renaming MonoBehaviour classes to match the file name.
-
Effortless Renaming: Quickly rename MonoBehaviour classes to match the file name with a keyboard shortcut (
Shift+Alt+M
). -
Consistency: Ensure naming consistency across your Unity project for improved code organization.
- Open Visual Studio Code.
- Go to the Extensions view (
Ctrl+Shift+X
). - Search for "MonoBehaviour Name Matcher"
- Click "Install" for the extension by Blue-Peanuts/monobehaviour-name-matcher.
- Open a Unity script file (e.g.,
MyScript.cs
) in Visual Studio Code. - Use the keyboard shortcut
Shift+Alt+M
to automatically rename the class to match the file name.