Created
July 24, 2021 15:00
-
-
Save wcharczuk/f3591945f9255a870be2ff64c16a8c6c to your computer and use it in GitHub Desktop.
My vscode settings (2021-07-24)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.colorTheme": "GitHub Dark", | |
"workbench.activityBar.visible": false, | |
"editor.fontSize": 14, | |
"editor.minimap.enabled": false, | |
"editor.lineNumbers": "on", | |
"editor.lightbulb.enabled": false, | |
"editor.wrappingStrategy": "simple", | |
"go.lintTool": "golangci-lint", | |
// indentation defaults | |
"editor.detectIndentation": false, | |
"editor.useTabStops": false, | |
"editor.insertSpaces": true, | |
"editor.tabSize": 2, | |
// indentation defaults | |
"vim.handleKeys": { | |
// disable vim intercept for the majority of ctrl-keys | |
"<C-b>": false, | |
"<C-d>": true, | |
"<C-s>": false, | |
"<C-x>": false, | |
"<C-f>": false, | |
"<C-h>": false, | |
"<C-a>": false, | |
"<C-c>": false, | |
"<C-v>": false, | |
"<C-j>": false, | |
"<C-k>": false, | |
}, | |
"vim.visualModeKeyBindings": [ | |
{ | |
"before": [ "p" ], | |
"after": ["\"", "_", "d", "P"], | |
} | |
], | |
"go.useLanguageServer": true, | |
"go.lintFlags": ["--fast" ], | |
"gopls": { | |
// Add parameter placeholders when completing a function. | |
"usePlaceholders": true, | |
// If true, enable additional analyses with staticcheck. | |
// Warning: This will significantly increase memory usage. | |
"staticcheck": false, | |
}, | |
"[go]": { | |
"editor.tabSize": 4, | |
"editor.insertSpaces": false, | |
"editor.detectIndentation": false, | |
"editor.codeLens": false, | |
"editor.formatOnSave": true, | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": true, | |
}, | |
// kill a bunch of automatic stuff | |
"editor.snippetSuggestions": "none", | |
"editor.autoClosingOvertype": "never", | |
"editor.autoClosingBrackets": "never", | |
"editor.autoClosingQuotes": "never" | |
}, | |
"[go.mod]": { | |
"editor.formatOnSave": true, | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": true, | |
}, | |
}, | |
"[js]": { | |
"editor.tabSize": 2, | |
"editor.insertSpaces": true, | |
"editor.detectIndentation": false, | |
}, | |
"[javascript]": { | |
"editor.tabSize": 2, | |
"editor.insertSpaces": true, | |
"editor.detectIndentation": false, | |
}, | |
"[jsx]": { | |
"editor.tabSize": 2, | |
"editor.insertSpaces": true, | |
"editor.detectIndentation": false, | |
}, | |
"[json]": { | |
"editor.tabSize": 2, | |
"editor.insertSpaces": true, | |
"editor.detectIndentation": false, | |
}, | |
"[ts]": { | |
"editor.tabSize": 2, | |
"editor.insertSpaces": true, | |
"editor.detectIndentation": false, | |
}, | |
"[typescript]": { | |
"editor.tabSize": 4, | |
"editor.insertSpaces": false, | |
"editor.detectIndentation": false, | |
}, | |
"[tsx]": { | |
"editor.tabSize": 2, | |
"editor.insertSpaces": true, | |
"editor.detectIndentation": false, | |
}, | |
"[yml]": { | |
"editor.tabSize": 2, | |
"editor.insertSpaces": true, | |
"editor.detectIndentation": false, | |
}, | |
"[yaml]": { | |
"editor.tabSize": 2, | |
"editor.insertSpaces": true, | |
"editor.detectIndentation": false, | |
}, | |
"[terraform]": { | |
"editor.tabSize": 2, | |
"editor.insertSpaces": true, | |
"editor.detectIndentation": false, | |
"editor.formatOnSave": true | |
}, | |
"go.toolsManagement.autoUpdate": true, | |
"workbench.editorAssociations": { | |
"*.ipynb": "jupyter-notebook" | |
}, | |
"files.associations": { | |
"*.jsx": "javascript" | |
}, | |
"editor.cursorStyle": "line", | |
"editor.wordSeparators": "/\\()\"':,.;<>~!@#$%^&*|+=[]{}`?-", | |
"editor.wordWrap": "off", | |
"window.zoomLevel": 1, | |
"notebook.cellToolbarLocation": { | |
"default": "right", | |
"jupyter-notebook": "left" | |
}, | |
"workbench.startupEditor": "none", | |
"[jsonc]": { | |
"editor.tabSize": 2, | |
"editor.insertSpaces": true, | |
"editor.detectIndentation": false, | |
"editor.quickSuggestions": { | |
"strings": true | |
}, | |
"editor.suggest.insertMode": "replace", | |
"gitlens.codeLens.scopes": [ | |
"document" | |
] | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment