sublimelsp / LSP-gopls

Golang support for Sublime's LSP plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"run test" code action does not raise the result of the test.

bassforce86 opened this issue · comments

It would be useful to raise the output of the of test result either in the diagnostics panel, or simply a "bulb" icon (success / fail) with a hover showing the log from the test.

Gopls version: 0.8.3
ST4 version: 4126
lsp-gopls version: 1.0.5

reproduction steps:

  • open a go project that has tests
  • use the "code_action" called "run tests"
  • observe that there is no (obvious) output from the test run

You can sort-of get a quick summary in the status bar, if you're quick enough.
Or you can see the full RPC trace in the LSP log panel, which is not particularly easy to read.

I think that I can intercept this request and then output the content into a Sublime Panel.

I’m working in this now

Open PR: #21

Implemented in v1.0.6