Skip to content

Instantly share code, notes, and snippets.

@recall704
Created November 27, 2022 07:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save recall704/8313a49d8ab9f23fa20d3a8e15bf98a6 to your computer and use it in GitHub Desktop.
Save recall704/8313a49d8ab9f23fa20d3a8e15bf98a6 to your computer and use it in GitHub Desktop.
vscode config
{
"tabnine.experimentalAutoImports": true,
"remote.SSH.remotePlatform": {
"192.168.187.115": "linux",
"10.10.10.123": "linux",
"192.168.37.100": "linux"
},
"go.toolsEnvVars": {
"GOFLAGS": "-mod=mod",
// "GOFLAGS": "-mod=vendor",
"GO111MODULE": "on"
},
"go.addTags": {
"tags": "json",
"options": "json=omitempty",
"promptForTags": false,
"transform": "keep"
},
"go.languageServerExperimentalFeatures": {
"diagnostics": true
},
"go.languageServerFlags": [
"-remote=auto", "-logfile=auto", "-debug=:0", "-rpc.trace",
],
"go.useLanguageServer": true,
"[go]": {
"editor.snippetSuggestions": "top",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"[go.mod]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"go.editorContextMenuCommands": {
"toggleTestFile": true,
"addTags": true,
"removeTags": true,
"fillStruct": true,
"testAtCursor": true,
"testFile": false,
"testPackage": false,
"generateTestForFunction": true,
"generateTestForFile": false,
"generateTestForPackage": false,
"addImport": true,
"testCoverage": false,
"playground": false,
"debugTestAtCursor": false,
"benchmarkAtCursor": false
},
"gopls": {
"completeUnimported": true,
"usePlaceholders": false,
"completionDocumentation": true,
"hoverKind": "SynopsisDocumentation"
},
"groupImports.onSave": false,
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true
},
"go.toolsManagement.autoUpdate": true,
"editor.inlineSuggest.enabled": true,
"go.buildOnSave": "off",
"redhat.telemetry.enabled": false,
"security.workspace.trust.untrustedFiles": "open",
"[python]": {
"editor.defaultFormatter": "ms-python.python"
},
"explorer.confirmDragAndDrop": false,
"workbench.iconTheme": "vscode-icons",
"vsicons.dontShowNewVersionMessage": true,
"sqltools.useNodeRuntime": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment