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
Should completions for the "syscall/js" package be working? i.e. after importing it and typing js.
As you know, js is a kind of pseudo GOOS, and is not going to be equal to the OS the editor and gopls are running on (in my case, darwin). Regardless, we still need completions for this part of the standard library!
What version of Go are you using (go version)?
$ go version
go version go1.12.6 darwin/amd64
$ gopls version
version v0.1.1-cmd.gopls, built in $GOPATH mode
Sublime Text + LSP package
What operating system and processor architecture are you using (go env)?
stamblerre
changed the title
x/tools/cmd/gopls: Completions aren't provided for the "syscall/js" package
x/tools/cmd/gopls: completions aren't provided for the "syscall/js" package
Jul 2, 2019
@stamblerre Thanks. It seems that the way Sublime's LSP sends settings is not supported by gopls yet: server: method "DidChangeConfiguration" not yet implemented
However, I did get the completion to work using this (LSP.sublime-settings file):
Glad to hear you got it working! The DidChangeConfiguration error just means that you will need to restart Sublime after modifying configurations, but otherwise, the buildFlags should work.
Should completions for the
"syscall/js"
package be working? i.e. after importing it and typingjs.
As you know,
js
is a kind of pseudo GOOS, and is not going to be equal to the OS the editor and gopls are running on (in my case,darwin
). Regardless, we still need completions for this part of the standard library!What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?go env
OutputThe text was updated successfully, but these errors were encountered: