Skip to content

Instantly share code, notes, and snippets.

@gabrielsaints
Last active October 31, 2019 14:49
Show Gist options
  • Save gabrielsaints/3e18cd508d9fe71b287a3aeb1a73c7cf to your computer and use it in GitHub Desktop.
Save gabrielsaints/3e18cd508d9fe71b287a3aeb1a73c7cf to your computer and use it in GitHub Desktop.
vscode configs
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
{
"printWidth": 80,
"singleQuote": true,
"endOfLine": "lf",
"arrowParens": "always",
"trailingComma": "es5",
"tabWidth": 2
}
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+shift+alt+f5",
"command": "workbench.action.debug.run",
"when": "!inDebugMode"
},
{
"key": "ctrl+f5",
"command": "-workbench.action.debug.run",
"when": "!inDebugMode"
},
{
"key": "ctrl+shift+alt+f6",
"command": "workbench.action.debug.restart",
"when": "inDebugMode"
},
{
"key": "ctrl+shift+f5",
"command": "-workbench.action.debug.restart",
"when": "inDebugMode"
},
{
"key": "ctrl+shift+oem_2",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+a",
"command": "-editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+numpad_divide",
"command": "editor.action.formatDocument",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+f",
"command": "-editor.action.formatDocument",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+numpad_divide",
"command": "HookyQR.beautifyFile"
},
{
"key": "ctrl+numpad_add",
"command": "editor.action.reindentlines"
},
{
"key": "ctrl+shift+f8 ctrl+shift+f9",
"command": "indentSwitcher.si2to4"
},
{
"key": "alt+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+oem_1",
"command": "workbench.action.gotoSymbol"
},
{
"key": "ctrl+shift+o",
"command": "-workbench.action.gotoSymbol"
},
{
"key": "ctrl+shift+oem_1",
"command": "workbench.action.showAllSymbols"
},
{
"key": "ctrl+t",
"command": "-workbench.action.showAllSymbols"
},
{
"key": "ctrl+k ctrl+1",
"command": "-editor.foldLevel1",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+2",
"command": "-editor.foldLevel2",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+3",
"command": "-editor.foldLevel3",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+4",
"command": "-editor.foldLevel4",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+5",
"command": "-editor.foldLevel5",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+6",
"command": "-editor.foldLevel6",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+7",
"command": "-editor.foldLevel7",
"when": "editorTextFocus"
},
{
"key": "ctrl+1",
"command": "-workbench.action.focusFirstEditorGroup"
},
{
"key": "ctrl+3",
"command": "-workbench.action.focusThirdEditorGroup"
},
{
"key": "ctrl+6",
"command": "-workbench.action.focusSixthEditorGroup"
},
{
"key": "ctrl+7",
"command": "-workbench.action.focusSeventhEditorGroup"
},
{
"key": "ctrl+2",
"command": "-workbench.action.focusSecondEditorGroup"
},
{
"key": "ctrl+4",
"command": "-workbench.action.focusFourthEditorGroup"
},
{
"key": "ctrl+5",
"command": "-workbench.action.focusFifthEditorGroup"
},
{
"key": "ctrl+8",
"command": "-workbench.action.focusEighthEditorGroup"
},
{
"key": "ctrl+1",
"command": "workbench.action.openEditorAtIndex1"
},
{
"key": "alt+1",
"command": "-workbench.action.openEditorAtIndex1"
},
{
"key": "ctrl+2",
"command": "workbench.action.openEditorAtIndex2"
},
{
"key": "alt+2",
"command": "-workbench.action.openEditorAtIndex2"
},
{
"key": "ctrl+3",
"command": "workbench.action.openEditorAtIndex3"
},
{
"key": "alt+3",
"command": "-workbench.action.openEditorAtIndex3"
},
{
"key": "ctrl+4",
"command": "workbench.action.openEditorAtIndex4"
},
{
"key": "alt+4",
"command": "-workbench.action.openEditorAtIndex4"
},
{
"key": "ctrl+5",
"command": "workbench.action.openEditorAtIndex5"
},
{
"key": "alt+5",
"command": "-workbench.action.openEditorAtIndex5"
},
{
"key": "ctrl+6",
"command": "workbench.action.openEditorAtIndex6"
},
{
"key": "alt+6",
"command": "-workbench.action.openEditorAtIndex6"
},
{
"key": "ctrl+7",
"command": "workbench.action.openEditorAtIndex7"
},
{
"key": "alt+7",
"command": "-workbench.action.openEditorAtIndex7"
},
{
"key": "ctrl+8",
"command": "workbench.action.openEditorAtIndex8"
},
{
"key": "alt+8",
"command": "-workbench.action.openEditorAtIndex8"
},
{
"key": "ctrl+9",
"command": "workbench.action.openEditorAtIndex9"
},
{
"key": "alt+9",
"command": "-workbench.action.openEditorAtIndex9"
},
{
"key": "ctrl+numpad_multiply",
"command": "editor.action.indentationToSpaces"
},
{
"key": "ctrl+numpad_subtract",
"command": "editor.action.indentUsingSpaces"
},
{
"key": "ctrl+t",
"command": "workbench.action.terminal.new"
},
{
"key": "ctrl+shift+oem_3",
"command": "-workbench.action.terminal.new"
},
{
"key": "ctrl+shift+alt+t",
"command": "workbench.action.terminal.kill"
},
{
"key": "ctrl+shift+enter",
"command": "-editor.action.insertLineBefore",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+enter",
"command": "-search.action.replaceAllInFile",
"when": "fileMatchFocus && replaceActive && searchViewletVisible"
},
{
"key": "ctrl+shift+enter",
"command": "-search.action.replaceAllInFolder",
"when": "folderMatchFocus && replaceActive && searchViewletVisible"
},
{
"key": "f5",
"command": "mysql.runQuery",
"when": "editorLangId == 'sql'"
},
{
"key": "ctrl+alt+e",
"command": "-mysql.runQuery",
"when": "editorLangId == 'sql'"
},
{
"key": "f5",
"command": "-workbench.action.debug.start",
"when": "!inDebugMode"
},
{
"key": "f5",
"command": "-workbench.action.debug.continue",
"when": "inDebugMode"
},
{
"key": "ctrl+shift+l",
"command": "-extension.fabric8AnalyticsStackLogs"
},
{
"key": "ctrl+u",
"command": "editor.action.transformToUppercase"
},
{
"key": "ctrl+l",
"command": "editor.action.transformToLowercase"
}
]
{
"editor.fontSize": 16,
"editor.lineHeight": 24,
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"editor.rulers": [
80,
120
],
"editor.formatOnSave": true,
"eslint.autoFixOnSave": true,
"eslint.validate": [
{
"language": "javascript",
"autoFix": true
},
{
"language": "javascriptreact",
"autoFix": true
},
],
"editor.renderLineHighlight": "gutter",
"terminal.integrated.fontSize": 14,
"workbench.iconTheme": "material-icon-theme",
"editor.tabSize": 2,
"window.zoomLevel": -1,
"extensions.ignoreRecommendations": false,
"emmet.includeLanguages": {
"javascript": "javascriptreact",
"nunjucks": "html"
},
"javascript.updateImportsOnFileMove.enabled": "never",
"javascript.suggest.autoImports": false,
"gitlens.codeLens.recentChange.enabled": false,
"gitlens.codeLens.authors.enabled": false,
"gitlens.codeLens.enabled": false,
"breadcrumbs.enabled": true,
"git.enableSmartCommit": true,
"editor.parameterHints.enabled": true,
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": true,
"eslint.packageManager": "yarn",
"terminal.integrated.rendererType": "dom",
"editor.suggestSelection": "first",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment