Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to rename multiple files in vscode (visual studio code)?

I wonder, if there is way to rename multiple files in visual studio code? I have tried to use find and replace, no luck.

like image 748
SaidAkh Avatar asked May 28 '17 05:05

SaidAkh


1 Answers

Here is how you can do it on Mac. Right-click (or ctrl+click or click with two fingers simultaneously on the trackpad if you are using a MacBook) on the folder that contains the files that you want to have renamed. Then click Reveal In Finder. Then from within finder select all files you want to rename, right-click the selected files and choose Rename X items.... Then you will see something like this:

enter image description here

Insert the string you want to find and the string with which you want to replace that found string and hit rename. Done 🔨

like image 95
J. Hesters Avatar answered Sep 21 '22 20:09

J. Hesters