diff --git a/vscode/extensions b/vscode/extensions new file mode 100644 index 00000000000..db46d5dd238 --- /dev/null +++ b/vscode/extensions @@ -0,0 +1,21 @@ +2gua.rainbow-brackets +EditorConfig.EditorConfig +HookyQR.beautify +Zignd.html-css-class-completion +alefragnani.project-manager +andischerer.theme-atom-one-dark +christian-kohler.npm-intellisense +christian-kohler.path-intellisense +dbaeumer.vscode-eslint +donjayamanne.githistory +flowtype.flow-for-vscode +freebroccolo.theme-atom-one-dark +gerane.Theme-Solarized-light +jcbuisson.vue +lukehoban.Go +ms-vscode.sublime-keybindings +msjsdiag.debugger-for-chrome +octref.vetur +robertohuertasm.vscode-icons +tonsky.theme-alabaster +vscodevim.vim diff --git a/vscode/.gitignore b/vscode/settings/.gitignore similarity index 100% rename from vscode/.gitignore rename to vscode/settings/.gitignore diff --git a/vscode/keybindings.json b/vscode/settings/keybindings.json similarity index 100% rename from vscode/keybindings.json rename to vscode/settings/keybindings.json diff --git a/vscode/settings/settings b/vscode/settings/settings new file mode 120000 index 00000000000..221a9f4913e --- /dev/null +++ b/vscode/settings/settings @@ -0,0 +1 @@ +/Users/aleksandr.subbotin/.dotfiles/vscode/settings \ No newline at end of file diff --git a/vscode/settings.json b/vscode/settings/settings.json similarity index 100% rename from vscode/settings.json rename to vscode/settings/settings.json diff --git a/vscode/vsicons.settings.json b/vscode/settings/vsicons.settings.json similarity index 100% rename from vscode/vsicons.settings.json rename to vscode/settings/vsicons.settings.json diff --git a/vscode/setup b/vscode/setup new file mode 100755 index 00000000000..8a758ff81a5 --- /dev/null +++ b/vscode/setup @@ -0,0 +1,15 @@ +#!/bin/sh +set -x + +settings_path=~/Library/Application\ Support/Code/User + +if [[ -f $settings_path ]] +then + rm -rf $settings_path +fi + +# symlink settings in +ln -s ~/.dotfiles/vscode/settings $settings_path + +# install all extensions from list +while read in; do code --install-extension "$in"; done < ~/.dotfiles/vscode/extensions diff --git a/vscode/update-extensions-list b/vscode/update-extensions-list new file mode 100755 index 00000000000..9333df26e58 --- /dev/null +++ b/vscode/update-extensions-list @@ -0,0 +1 @@ +code --list-extensions > ~/.dotfiles/vscode/extensions \ No newline at end of file