This repo contains my settings for visual-studio-code.
Clone the repository in the location of User settings folder. If you have already made modifications to you VSCode settings you may have to delete this folder first.
git clone https://github.com/danilevy1212/vscode-config.git \
".config/Code/User"
The name of the “Code” folder may vary depending on the installed Visual Studio Code
version. Lastly, to install all the extensions run the install-extensions.sh
script. From the User directory run:
./install-extensions.sh
Optionally, you can enable a set of custom git-hooks to automate the process of extension management, by running:
git config core.hooksPath .githooks
or
find .git/hooks -type l -exec rm {} \;
find .githooks -type f -exec ln -sf ../../{} .git/hooks/ \;
As of the time of writing, vs-code does not fully suport the XDG Base Directory Specification, as the user cannot change the directory of the ~~/.vscode[- VERSION]/~ folder.
There is a open github issue where a solution to this problem is being discussed.