Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>XYZ Bulk RenameNew to Visual Studio Code? Get it now.
XYZ Bulk Rename

XYZ Bulk Rename

robmllze

|
1,613 installs
| (2) | Free
An extension that allows you to quickly bulk-rename files and folders.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

XYZ Bulk Rename

An extension that allows you to quickly bulk-rename files and folders.

Example

Example

Installation

  1. Open VS Code.
  2. Go to the Extensions view by clicking on the square icon on the sidebar or pressing Ctrl+Shift+X on Windows or Cmd+Shift+X on MacOS.
  3. Search for "XYZ Bulk Rename".
  4. Install and reload VS Code.
  5. This extension is activated by default. Disable the extension to deactivate it.

Disclaimer

Bulk-renaming files can break your project if you're not careful. Be sure to try this extension with a dummy project before you use it with an important project. Always save your project before bulk-renaming files or folders in case you break something or the extension behaves in an unexpected way.

Instructions

  1. Open a a workspace in Visual Studio Code.
  2. Save your project.
  3. Right-click in the Explorer view.
  4. Select [xyz-bulk-rename] Start from the context menu.
  5. A file named .BULK_RENAME.txt will be created in the root of the workspace.
  6. Open .BULK_RENAME.txt, and rename the files or folders as needed (Tip: Press Ctrl+F (Windows/Linux) or Cmd+F (MacOS) to search for the files or folders if there are too many).
  7. Save the file (Tip: Enable auto-save in Visual Studio Code).
  8. The files and folders will be renamed accordingly and .BULK_RENAME.txt will update.
  9. Files or folders staring with a dot "." will be ignored.

Known Issues

  • Currently no folders or files are ignored, except files of folders starting with a dot ".". So if you have a "node_modules" folder for example, all those files and folders will appear in "BULK_RENAME.txt". For now, press Ctrl+F (Windows/Linux) or Cmd+F (MacOS) to search for the files or folders if there are too many.
  • There is currently no way to stop the process once started, unless you close and reopen Visual Studio Code. Luckily it's not really disruptive.

License

This extension is licensed under the MIT License.

All Extensions by XYZ

  • XYZ .hideme: An extension that allows you to easily hide files and folders that are listed in your project's .hideme file.
  • XYZ Styled Region: An extension that allows you to apply custom styles to marked regions in your code. Enhance your coding experience with visually appealing regions, making it easier to read, debug, and navigate your code.
  • XYZ Bulk Rename: An extension that allows you to quickly bulk-rename files and folders
  • XYZ Run Script: An extension that allows you to run scripts via right-click.
  • XYZ Run Tasks: An extension that allows you to run your workspace tasks via the explorer menu.
Alt text
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft