sourcegraph / go-langserver

Go language server to add Go support to editors and other tools that use the Language Server Protocol (LSP)
https://sourcegraph.com
MIT License
1.17k stars 90 forks source link

Language Server not registering providers since the last couple of commits #356

Closed ramya-rao-a closed 5 years ago

ramya-rao-a commented 5 years ago

With https://github.com/sourcegraph/go-langserver/commit/8c25906a7dbc904acc96b5435ec42fa5da8b232c, the language server is not registering any of the providers correctly.

When using VS Code, this translates to not seeing any of the features from the language server. Prior to the above commit, the language server works as expected.

Below is the trace (when everything works i.e prior to https://github.com/sourcegraph/go-langserver/commit/8c25906a7dbc904acc96b5435ec42fa5da8b232c), when opening a file in a new VS Code window and hovering on a symbol

image

Below is the trace, (after https://github.com/sourcegraph/go-langserver/commit/8c25906a7dbc904acc96b5435ec42fa5da8b232c) when opening a file in a new VS Code window and hovering on a symbol. It is the same as the part above the red line in the previous picture

image

Below is the error in the console from the vscode-languageclient

image

keegancsmith commented 5 years ago

cc @chrismwendt