An extension that allows you to quickly bulk-rename files and folders.
Open VS Code.
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.
Search for "XYZ Bulk Rename".
Install and reload VS Code.
This extension is activated by default. Disable the extension to deactivate it.
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.
Open a a workspace in Visual Studio Code.
Save your project.
Right-click in the Explorer view.
Select [xyz-bulk-rename] Start from the context menu.
A file named .BULK_RENAME.txt will be created in the root of the workspace.
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).
Save the file (Tip: Enable auto-save in Visual Studio Code).
The files and folders will be renamed accordingly and .BULK_RENAME.txt will update.
Files or folders staring with a dot "." will be ignored.
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.
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.