From 62964c3d7c851839055d2e35e11c809523e4c0a0 Mon Sep 17 00:00:00 2001 From: Vuk Mirovic Date: Sat, 9 Mar 2019 15:45:12 +0100 Subject: [PATCH] Use bingo language server for Go in VS Code. https://github.com/Microsoft/vscode-go/issues/2251\#issuecomment-454883375 --- .config/Code - OSS/User/settings.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.config/Code - OSS/User/settings.json b/.config/Code - OSS/User/settings.json index dc3ea65..cb22925 100644 --- a/.config/Code - OSS/User/settings.json +++ b/.config/Code - OSS/User/settings.json @@ -29,6 +29,24 @@ "git.enableSmartCommit": true, "workbench.colorTheme": "Monokai Dimmed", "go.lintOnSave": "off", + "go.alternateTools": { + "go-langserver": "bingo" + }, + "go.useLanguageServer": true, + "go.languageServerFlags": ["-format-style=goimports"], + "go.languageServerExperimentalFeatures": { + "format": true, + "autoComplete": true, + "rename": true, + "goToDefinition": true, + "hover": true, + "signatureHelp": true, + "goToTypeDefinition": true, + "goToImplementation": true, + "documentSymbols": true, + "workspaceSymbols": true, + "findReferences": true + }, "explorer.confirmDelete": false, "explorer.confirmDragAndDrop": false, "window.titleBarStyle": "custom",