-
Notifications
You must be signed in to change notification settings - Fork 645
switch the default language server to bingo or golsp #2253
Comments
I've also had good results bingo instead of go-langserver. Perhaps just a user setting could be added to allow overriding the binary used? |
@webframp you can do that already:
But making it the default would provide a better experience to new comers. |
+1 for bingo as default language server "go.useLanguageServer": true,
"go.alternateTools": {
"go-langserver": "bingo"
},
"go.languageServerFlags": ["--format-style", "goimports"],
"go.languageServerExperimentalFeatures": {
"format": true,
"autoComplete": true
} |
They added support for autocomplete unimported packages, woohoo. |
After a couple of days of using it at work I can't say I feel inclined to use bingo as the default. It is way more responsive than the sourcegraph server but it also has some annoying bugs that result in false errors like this one: It seems that golsp (now renamed to gopls) still isn't ready, but it can be tested via a local extension setup: https://github.com/golang/tools/tree/master/cmd/gopls/integration/vscode |
@lggomezml if you see some bug, please report it at bingo's repo. It's under active development, and maintainer is also very active, closing all major issues literally in hours. Not sure what you mean btw, I have not seen any big problems with it so far, and it's the only language server that works normally with |
+1 for |
Frustrating I have to float a development package to test that out. They should make it work like bingo! |
@bcomnes I got that working, per docs on the wiki: https://github.com/Microsoft/vscode-go/wiki/Go-modules-support-in-Visual-Studio-Code#can-i-use-the-language-server-when-using-go-modules
and it works really well. |
Interesting, I'll try it out. |
I tried bingo. It's awesome. It first loading is slower compare to sourcegraph/go-lanserver. But, when it's done, "Find All Reference" can be done in a flash. Amazing! |
Did you try comparing to gopls?
…On Thu, Mar 28, 2019, 12:32 AM Tony Wen ***@***.***> wrote:
I tried bingo. It's awesome. It first loading is slower compare to
sourcegraph/go-lanserver. But, when it's done, "Find All Reference" can be
done in a flash. Amazing!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2253 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABhlrhGdsojtJRMSDFZ6ecBoYdiCIFqks5va3MJgaJpZM4aDsD3>
.
|
Here's my current setup: "go.useLanguageServer": true,
"go.alternateTools": {
"go-langserver": "bingo"
},
"go.languageServerFlags": [
"--diagnostics-style=instant",
"--enhance-signature-help",
"--format-style=goimports",
"--goimports-prefix='github.com/nezorflame'", // enter your own here
],
"go.languageServerExperimentalFeatures": {
"autoComplete": true,
"documentSymbols": true,
"findReferences": true,
"format": true,
"goToDefinition": true,
"goToTypeDefinition": true,
"hover": true,
"signatureHelp": true,
"rename": true,
"workspaceSymbols": true,
} |
I tried. Configured as they recommend, compiled... On my Windows machine it simply didn't work. Runs, but nothing... Deleted. To the moment |
@broady Sorry, I haven't yet. I'll post the result when I try it. |
@thegtproject I never had any problems with installing/running Bingo on Windows, my previous comment was regarding As for installing Bingo on Windows it's quite simple, and same as with other OSes, actually
|
Is there a way to disable the language server warning from this extension? It's super annoying and in my experience gopls/bingo simply don't work as well right now with projects not using go modules. This would be better if we could turn that off until there's a more mature alternative. |
Closing this issue as @xlucas AFAIK the warnings/notification for the language server does have the option of "Don't show again". If it doesn't show up or doesn't work, please log a new issue |
From https://github.com/sourcegraph/go-langserver:
Bingo is actively maintained and the works the best out of the 3 available options that I personally tried, the 3rd being golsp is getting there but it's still lacking behind partly because it's maintained in the official go tree and it takes longer time and reviews to improve it.
The text was updated successfully, but these errors were encountered: