go-langserver
go-langserver copied to clipboard
Go language server to add Go support to editors and other tools that use the Language Server Protocol (LSP)
You use vocabulary when describing this language server that I can guess what it means, but would prefer to know what do you mean by "isolated" and "parallel" when describing...
Macbook OS x EI Captain Attached is the cpu profile . It shows lot of time spent in reading files not sure why that happens but i have seen this...
Hey, I'm using go-langserver for local Go development and noticed that it opens a TCP server on port 6060: ``` $ netstat -tulpn Proto Recv-Q Send-Q Local Address Foreign Address...
Things need to be updated to support go 1.11, currently, things don't work correctly in go 1.11.
when i create a new func in xx.go , i can't use it in other file
This change writes the command line flags to the log instead of stdout, since that confuses clients that expect stdout to be a valid JSON-RPC stream.
https://travis-ci.org/sourcegraph/go-langserver/jobs/460093521 ``` WARNING: DATA RACE Write at 0x00c420318020 by goroutine 44: github.com/sourcegraph/go-langserver/langserver.updateCachedDiagnostics() /home/travis/gopath/src/github.com/sourcegraph/go-langserver/langserver/diagnostics.go:104 +0x2ee github.com/sourcegraph/go-langserver/langserver.(*LangHandler).publishDiagnostics.func1() /home/travis/gopath/src/github.com/sourcegraph/go-langserver/langserver/diagnostics.go:69 +0xac github.com/sourcegraph/go-langserver/langserver.(*diagnosticsCache).sync() /home/travis/gopath/src/github.com/sourcegraph/go-langserver/langserver/diagnostics.go:50 +0xbf github.com/sourcegraph/go-langserver/langserver.(*LangHandler).publishDiagnostics() /home/travis/gopath/src/github.com/sourcegraph/go-langserver/langserver/diagnostics.go:67 +0x272 github.com/sourcegraph/go-langserver/langserver.(*LangHandler).typecheck() /home/travis/gopath/src/github.com/sourcegraph/go-langserver/langserver/loader.go:77 +0x92f Previous read at 0x00c420318020...
We have file path issues all over the place. We also have some in-progress work to sort this all out by @alexsaveliev. https://github.com/sourcegraph/go-langserver/pull/86 https://github.com/sourcegraph/go-langserver/pull/79
Although the API has exposed an option to enable diagnostics, I find that the results might need some improvements. Too often I see the LS report no issue with syntactically...