Skip to content

Instantly share code, notes, and snippets.

@appleboy
Created February 20, 2022 00:27
Show Gist options
  • Save appleboy/a074d3691758d516ea2471afb5df1516 to your computer and use it in GitHub Desktop.
Save appleboy/a074d3691758d516ea2471afb5df1516 to your computer and use it in GitHub Desktop.
vscode config
{
"workbench.iconTheme": "vscode-icons",
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"workbench.colorTheme": "1337",
"window.nativeTabs": true,
"editor.fontWeight": "400", // Bold
"go.useLanguageServer": true,
"go.docsTool": "gogetdoc",
"go.autocompleteUnimportedPackages": true,
"[go]": {
// Optional: Disable snippets, as they conflict with completion ranking.
"editor.snippetSuggestions": "none",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"go.languageServerExperimentalFeatures": {
"diagnostics": true,
},
"go.languageServerFlags": [
"-rpc.trace", // for more detailed debug logging
"serve",
"--debug=localhost:6060" // to investigate memory usage, see profiles
],
"editor.renderWhitespace": "all",
"go.formatTool": "gofumpt",
"go.lintTool": "golangci-lint",
"go.lintFlags": [
"--fast"
],
"files.autoSave": "onFocusChange",
"go.toolsManagement.autoUpdate": true,
"go.buildTags": "go1.16",
"workbench.editorAssociations": {
"*.ipynb": "jupyter.notebook.ipynb"
},
"liveServer.settings.donotShowInfoMsg": true,
"tabnine.experimentalAutoImports": true,
"gopls": {
"formatting.gofumpt": true,
"ui.semanticTokens": true
},
"security.workspace.trust.untrustedFiles": "open",
"window.zoomLevel": 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment