Running gopls on the command-line directly currently defaults to serve mode, which is unhelpful for users of the CLI and unintuitive. We should add a log message indicating that gopls is serving and how to get help text.
The text was updated successfully, but these errors were encountered:
gopherbot
added
Tools
This label describes issues relating to any tools in the x/tools repository.
gopls
Issues related to the Go language server, gopls.
labels
Sep 9, 2020
@findleyr and @ianthehat have discussed that most language servers do default to serve, but we can improve the UX by adding a log statement. So I will repurpose this issue to add a log statement indicating that gopls is serving.
FYI, as far as that I have looked over 70 language servers in my project https://github.com/mattn/vim-lsp-settings, most language server does not provide serve command.
stamblerre
changed the title
x/tools/gopls: move away from defaulting to serve command
x/tools/gopls: add log statement to indicate gopls is serving
Nov 16, 2020
Running
gopls
on the command-line directly currently defaults toserve
mode, which is unhelpful for users of the CLI and unintuitive. We should add a log message indicating thatgopls
is serving and how to get help text.The text was updated successfully, but these errors were encountered: