You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Expected it to JustWork™ when setting the server path to ~/go/bin/gopls, as it does for when using bingo. Since bingo is no longer going to be maintained in favour of gopls the ide-go package should work with the official language server.
Actual Behavior
A gopls process is spawned, but Atom does not communicate with it from what I can tell.
Steps to Reproduce
go get -u golang.org/x/tools/cmd/gopls
Set custom server path to $(which gopls)
Reload window, check for process with ps aux | grep gopls to see process.
See that atom-ide-ui displays nothing, format on save doesn't work, etc.
The text was updated successfully, but these errors were encountered:
It seems to work using @saibing's version of gopls, however there are a lot of... interesting issues with it it seems. Go module support seems rather lacking at the moment.
I doubt there is anything to do here for this package, except maybe make gopls the first class supported citizen rather than go-languageserver.
Reopening this as gopls seems to work as intended with VSCode, however the ide-go package does not handle it.
Generally the issues I see are ending up with a lot of "Type X is undeclared" for type outside of whatever file I'm currently working in, even though Type X is in the same package.
I agree that it would be preferable for this plugin to switch to gopls since it is still in active development and supports go modules, as described here
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am using the latest version of:
- [ ] go-langserverOperating System:
macOS 10.14.3
Expected Behavior
Expected it to JustWork™ when setting the server path to
~/go/bin/gopls
, as it does for when usingbingo
. Sincebingo
is no longer going to be maintained in favour ofgopls
theide-go
package should work with the official language server.Actual Behavior
A
gopls
process is spawned, but Atom does not communicate with it from what I can tell.Steps to Reproduce
go get -u golang.org/x/tools/cmd/gopls
Set custom server path to
$(which gopls)
Reload window, check for process with
ps aux | grep gopls
to see process.See that atom-ide-ui displays nothing, format on save doesn't work, etc.
The text was updated successfully, but these errors were encountered: