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!


Comments

Popular posts from this blog

How to fix Android when developer options are not available for this user

Exception: Could not find a default OpenFlow controller in Mininet

v4l2: open /dev/video0: Permission denied