1. Open VSCode on your old Mac and in the menu bar go to Code > Settings… > Profile > Export profile.
  2. Check the things you want to export and name the file after you click Export and save it somewhere.
  3. Open VSCode on your new Mac and in the menu bar go to Code > Settings… > Profile > Import profile. Click ‘select file’ and locate the previously exported .code-profile file.
  4. Select whatever things you want to import and click Create Profile.
  5. After creating the profile, navigate to ~Library/Application Support/Code/User where you will see a Profiles folder. Inside it is the newly created profile with the configurations that you want to be the default.
  6. For the Settings and Keybindings to be exported to the default profile, copy 2 files: settings.json, and keybindings.json, and paste them into the User parent directory where the Profiles folder is located.
  7. For the Extensions to be exported correctly to the default profile, navigate to ~/.vscode/extensions where you will see multiple extensions in folders and one extensions.json file. Replace that JSON file with the extensions.json file located in the profile folder created in step nº5.
  8. Now quit VSCode and open it again. Switch to the Default profile (Code > Settings… > Profile > Default) if it isn’t selected. Now you should see the configurations take effect.
  9. After making sure the configurations are all good in the Default profile, you can proceed and delete the newly created profile in step nº4. To do so go to Settings… > Profile > Delete profile > choose the profile to delete.