Skip to content

Instantly share code, notes, and snippets.

@jincod
Last active May 17, 2021 10:44
Show Gist options
  • Save jincod/93d2bddb32cab3b72b23657cc8e69255 to your computer and use it in GitHub Desktop.
Save jincod/93d2bddb32cab3b72b23657cc8e69255 to your computer and use it in GitHub Desktop.
VS Code settings
# Windows %USERPROFILE%\.vscode\extensions
# Mac ~/.vscode/extensions
# Windows %APPDATA%\Code\User\settings.json
# Mac $HOME/Library/Application Support/Code/User/settings.json
# code --list-extensions
$gist = "https://gist.github.com/jincod/93d2bddb32cab3b72b23657cc8e69255/raw"
Invoke-WebRequest "${gist}/settings.json" -OutFile $env:APPDATA\Code\User\settings.json
Invoke-WebRequest "${gist}/keybindings.json" -OutFile $env:APPDATA\Code\User\keybindings.json
(Invoke-WebRequest "${gist}/list-extensions").Content -split "\n" | % { code --install-extension $_ }
gist="https://gist.github.com/jincod/93d2bddb32cab3b72b23657cc8e69255/raw"
curl -L "$gist/list-extensions" | xargs -I {} code --install-extension {}
curl -L "$gist/settings.json" -o $HOME/Library/Application\ Support/Code/User/settings.json
curl -L "$gist/keybindings.json" -o $HOME/Library/Application\ Support/Code/User/keybindings.json
[
{
"key": "ctrl+shift+d",
"command": "editor.action.duplicateSelection",
"when": "editorTextFocus"
},
{
"key": "ctrl+`",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+`",
"command": "workbench.action.terminal.focus",
"when": "!terminalFocus"
},
{
"key": "alt+enter",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+u",
"command": "editor.action.transformToUppercase",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+l",
"command": "editor.action.transformToLowercase",
"when": "editorTextFocus"
}
]
dbaeumer.vscode-eslint
dzannotti.vscode-babel-coloring
eamodio.gitlens
EditorConfig.EditorConfig
esbenp.prettier-vscode
formulahendry.auto-close-tag
hashicorp.terraform
mikestead.dotenv
ms-azuretools.vscode-docker
ms-dotnettools.csharp
ms-vscode.powershell
redhat.vscode-commons
redhat.vscode-xml
SonarSource.sonarlint-vscode
Tyriar.sort-lines
vscode-icons-team.vscode-icons
xabikos.JavaScriptSnippets
xabikos.ReactSnippets
yzane.markdown-pdf
{
"editor.insertSpaces": false,
"editor.fontFamily": "Fira Code",
"editor.fontSize": 14,
"editor.fontLigatures": true,
"editor.renderWhitespace": "all",
"workbench.colorTheme": "Solarized Light",
"extensions.autoUpdate": true,
// "emmet.triggerExpansionOnTab": true,
"emmet.includeLanguages": {
"html": "html",
"erb": "erb",
"javascript": "javascriptreact",
"vue": "html",
"ejs": "html"
},
"sublimeTextKeymap.promptV3Features": true,
"editor.formatOnPaste": false,
"gitlens.advanced.messages": {
"suppressShowKeyBindingsNotice": true,
"suppressWelcomeNotice": true
},
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe"
],
"gitlens.keymap": "none",
"workbench.iconTheme": "vscode-icons",
"explorer.confirmDragAndDrop": false,
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"redhat.telemetry.enabled": true
}
@jincod
Copy link
Author

jincod commented Mar 18, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment