Search code examples
dockeransiblevisual-studio-code

Same VSCode-Settings for the whole crew?


We want to have the same VSCode settings for the whole crew of developers. Also it would be fine to have a oneline command to tear VSCode down and restart it from scratch with predefined settings and plugins so that you do not have to worry about trying out plugins and getting beck to the known state. Kind of Config-as-Code for VSCode.

I already found:

But non of these provides a good solution to me

We are using Mac and Windows machines and develop most of the time locally (not remotely in the cloud or the like).

I imagine like having a script like

.... projectname up

or

.... projectname reset

(or

.... projectname down)

to receive/reset the configured settings and newest plugins that have been configured for the project.

Have any ideas or use a similar solution already?


Solution

  • After doing a lot of research, playing with Docker, Ansible and so on... it seems that although I excluded it at first the plugin Settings Sync Plugin from Shan Khan is the way to go. It has round about 1 million installs!

    Only dependency - you need a GitHub account to host your configs. That is what held me back at first - but it should be not that much of a problem to get one for everyone in the team and connect it to like a company-github-account.