Personal Preferences for my Vscode Configuration, mainly focused on React development.
.
├── user-settings.jsonc
├── list-extensions.txt
├── LICENSE
└── README.md
code --list-extensionsLists extensions currently installed in VSCode
code --list-extensions --show-versionsLists extensions currently installed in VSCode with their versions
code --install-extension (<extension-id> | <extension-vsix-path>)Installs a specific extension
Ctrl+Shift+P -> Preferences: Open User Settings (JSON)
Opens the VSCode command palette and then the user settings in json format
First, either export the latest extensions list from the previous machine with the "install-extension" prefix using the below command:
Unix:
code --list-extensions | xargs -L 1 echo code --install-extensionWindows PowerShell:
code --list-extensions | % { "code --install-extension $_" }
Or just use the list-extensions.txt file, prefix "code --install-extension" to each line, and then run the instal commands on your new machine.
Sample output:
code --install-extension dbaeumer.vscode-eslint
code --install-extension wallabyjs.quokka-vscode- Copy the content of
user-settings.jsonc - Open the VSCode user settings file on your machine
- Paste the content to compeletely override the settings