Created
July 19, 2021 16:41
-
-
Save epk/a21ba7b13cacc215f0d7149056de3f25 to your computer and use it in GitHub Desktop.
This file contains 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
{ | |
/************************* | |
Go | |
*************************/ | |
"go.useLanguageServer": true, | |
"[go]": { | |
"editor.formatOnSave": true, | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": true, | |
}, | |
// Optional: Disable snippets, as they conflict with completion ranking. | |
"editor.snippetSuggestions": "none", | |
}, | |
"[go.mod]": { | |
"editor.formatOnSave": true, | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": true, | |
}, | |
}, | |
"gopls": { | |
"ui.codelenses": { | |
"gc_details": true, | |
"generate": true, | |
"regenerate_cgo": true, | |
"test": true, | |
"tidy": true, | |
"upgrade_dependency": true, | |
"vendor": true | |
}, | |
"ui.semanticTokens": true, | |
// Add parameter placeholders when completing a function. | |
"usePlaceholders": true, | |
// If true, enable additional analyses with staticcheck. | |
// Warning: This will significantly increase memory usage. | |
"staticcheck": true, | |
}, | |
"go.lintTool": "golangci-lint", | |
"go.lintFlags": [ | |
"--fast" | |
], | |
"go.addTags": { | |
"tags": "json", | |
"options": "json=omitempty", | |
"promptForTags": false, | |
"transform": "camelcase", | |
"template": "" | |
}, | |
/************************* | |
Ruby | |
*************************/ | |
"solargraph.formatting": true, | |
"solargraph.definitions": true, | |
"solargraph.autoformat": true, | |
"solargraph.completion": true, | |
"solargraph.references": true, | |
"solargraph.folding": true, | |
"solargraph.rename": true, | |
"solargraph.hover": true, | |
"solargraph.symbols": true, | |
"[ruby]": { | |
"editor.detectIndentation": true, | |
"editor.tabSize": 2, | |
"editor.formatOnSave": true, | |
"editor.insertSpaces": true, | |
}, | |
"ruby.format": "rubocop", | |
"ruby.codeCompletion": "rcodetools", | |
"ruby.useLanguageServer": true, | |
"ruby.intellisense": "rubyLocate", | |
"ruby.lint": { | |
"rubocop": true, | |
}, | |
"ruby.lintDebounceTime": 500, | |
// "[ruby]": { | |
/************************* | |
YAML | |
*************************/ | |
"yaml.format.enable": false, | |
"yaml.completion": true, | |
"yaml.format.singleQuote": true, | |
/************************* | |
Rewrap | |
*************************/ | |
"rewrap.autoWrap.enabled": false, | |
"rewrap.wrappingColumn": 80, | |
/************************* | |
Editor & Themes | |
*************************/ | |
"diffEditor.ignoreTrimWhitespace": false, | |
"editor.minimap.enabled": false, | |
"editor.fontFamily": "SFMono Nerd Font", | |
"editor.formatOnPaste": true, | |
"editor.tabSize": 2, | |
"editor.rulers": [ | |
80, | |
120 | |
], | |
"editor.wordWrap": "on", | |
"files.autoSave": "onFocusChange", | |
"files.insertFinalNewline": true, | |
"files.trimTrailingWhitespace": true, | |
"files.trimFinalNewlines": true, | |
"terminal.integrated.fontFamily": "SFMono Nerd Font", | |
"window.titleBarStyle": "native", | |
"workbench.iconTheme": "material-icon-theme", | |
"workbench.colorTheme": "One Dark Pro", | |
"workbench.editor.openPositioning": "left", | |
/************************* | |
Misc | |
*************************/ | |
"files.associations": { | |
"Brewfile": "plaintext", | |
"*.yml.erb": "yaml", | |
}, | |
"git.autofetch": true, | |
"[json]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"go.toolsManagement.autoUpdate": true, | |
"redhat.telemetry.enabled": true, | |
"editor.inlineSuggest.enabled": true, | |
"github.copilot.inlineSuggest.enable": true, | |
"github.copilot.enable": { | |
"*": true, | |
"yaml": true, | |
"plaintext": false, | |
"markdown": false | |
}, | |
"window.zoomLevel": 1, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment