code sync 代码同步

This commit is contained in:
tavenli
2020-12-01 21:19:37 +08:00
parent 11f762ce6e
commit 5f3a8d50e8
237 changed files with 7659 additions and 2106 deletions
+26
View File
@@ -0,0 +1,26 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "forward-server",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/forward-server",
"env": {},
"args": []
},
{
"name": "forward-agent",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/forward-agent",
"env": {},
"args": []
}
]
}
+32
View File
@@ -0,0 +1,32 @@
{
"go.formatTool": "goimports",
"go.alternateTools": {
},
"[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,
},
},
"go.gotoSymbol.includeImports": true,
"go.gotoSymbol.includeGoroot": true,
"go.languageServerExperimentalFeatures": {
"diagnostics": true,
"documentLink": true
},
"go.trace.server": "verbose",
"go.overwriteGoplsMiddleware": {
},
"go.useLanguageServer": true
}