Skip to content

Instantly share code, notes, and snippets.

@DazWilkin
Created February 4, 2021 17:56
Show Gist options
  • Save DazWilkin/dfe9b9dc4f685e0bf54e238801d7d2ef to your computer and use it in GitHub Desktop.
Save DazWilkin/dfe9b9dc4f685e0bf54e238801d7d2ef to your computer and use it in GitHub Desktop.
VS Code
{
"[go]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"[markdown]": {
"editor.wordWrap": "off",
"editor.wordWrapColumn": 100,
"editor.quickSuggestions": false,
},
"workbench.startupEditor": "newUntitledFile",
"editor.renderWhitespace": "all",
"editor.renderControlCharacters": true,
"editor.rulers": [
80,
100,
],
"editor.formatOnSave": true,
"editor.fontLigatures": true,
"window.zoomLevel": 0,
"breadcrumbs.enabled": true,
"files.eol": "\n",
"go.autocompleteUnimportedPackages": true,
"go.useLanguageServer": true,
"go.testEnvVars": {},
"go.toolsEnvVars": {
"DIGITALOCEAN_TOKEN": "",
"LINODE_TOKEN": "",
},
"go.languageServerFlags": [
// "-rpc.trace",
// "serve",
// "--debug=localhost:6060",
],
"go.enableCodeLens": {
"references": true,
"runtest": true,
},
"gopls": {
"codelenses": {
"generate": false,
},
"usePlaceholders": true,
"staticcheck": false,
},
"debug.allowBreakpointsEverywhere": true,
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.formatting.provider": "yapf",
"python.languageServer": "Pylance",
"python.analysis.typeCheckingMode": "basic",
// ${HOME}/.config/Code/User/globalStorage/matklad.rust-analyzer
"rust-analyzer.cargo.loadOutDirsFromCheck": true,
"rust-analyzer.diagnostics.disabled": [
"macro-error"
],
"rust-analyzer.updates.askBeforeDownload": true,
"rust-analyzer.updates.channel": "nightly",
"yaml.schemaStore.enable": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment