Export/Import your plugins from Visual Studio Code.Export your plugins from Visual Studio Code.
Instead of installing everything by hand, let’s automate it…..
These days I needed to clean the mac and I was thinking wow, how lazy to reinstall the plugins again. Then I researched and did the procedure here for anyone who is thinking the same thing as me.
I’m going to make one from homebrew too.
Open Visual Studio Code
Press Ctrl + Shift + P (or Cmd + Shift + P on Mac) to open the command box
Type “Extensions: List” and select the “Extensions: List” option from the search results or Open Extensions Folder
This will open a list of all installed VS Code extensions in a new panel
Right-click anywhere in the list of extensions and select “Copy All”
Open a text editor or notepad
Paste the list of extensions into the open text file
Save the text file with an appropriate name and extension, such as “vscode_extensions_list.txt”
Copy all
Import
Open Visual Studio Code
Press Ctrl + Shift + P (or Cmd + Shift + P on Mac) to open the command box
Type “Extensions: Install from VSIX” and select the “Extensions: Install from VSIX” option from the search results
This will open a file explorer window. Navigate to the folder where you saved the text file with the list of extensions
Select the text file and click “Open”
This will install all extensions listed in the text file in your VS Code
Hope you like it….