How to backup your Visual Studio Code extensions
If you want to avoid to use a github account to syncronize your extensions, you can do it fastly as follows:
code --list-extensions | xargs -L 1 echo code --install-extension
This sentence, you must write it in your terminal. It generates an output with a list of your extensions, like:
code --install-extension rogalmic.bash-debug
Now, when you would like to import the same extensions, just put the previous output in your terminal.
Also, you can copy your extensions folder in ~/.vscode/extensions
Enjoy it!
code --list-extensions | xargs -L 1 echo code --install-extension
This sentence, you must write it in your terminal. It generates an output with a list of your extensions, like:
code --install-extension rogalmic.bash-debug
Also, you can copy your extensions folder in ~/.vscode/extensions
Enjoy it!
Comments
Post a Comment