Settings Sync

Sync VSCODE Config

Synced settings:

  • Extensions Settings
  • Keyboard Shortcuts
  • Profiles
  • User Settings
  • User Snippets
  • UI State
  • User Tags

Eliminate settings sync for Extensions if memory is precipitous.

This is a warning alert with a custom icon.

Settings Files

Alphabetizing facilitates mods and reduces dups.

  • User Settings: ~/.config/Code/User/settigns.json
  • User Snippets: ~/.config/Code/User/snippets

Using .dotfiles

To ease VSCode config for new dev envs, .dotfiles could be used instead of VSCode's built-in settings sync.

See New Dev Env and the Dotfiles Project.

Move Settings Files to .dotfiles:

mv ~/.config/Code/User/settings.json ~/.dotfiles/code/.config/Code/User/settings.json
mv ~/.config/Code/User/snippets/ ~./dotfiles/code/.config/Code/User/snippets

Link to .dotfiles

cd ~/.dotfiles
stow code

Resulting Links:

LinkTarket
~/.config/Code/User/settings.json~/.dotfiles/code/.config/Code/User/settings.json
~/.config/Code/User/snippets/~./dotfiles/code/.config/Code/User/snippets/

Copyright @ 2024 Anne Brown