redhat-developer / lsp4ij

LSP Client for IntelliJ
Eclipse Public License 2.0
76 stars 15 forks source link

Append command name to workspace/executeCommand trace #284

Open fbricon opened 3 months ago

fbricon commented 3 months ago

It'd be convenient to directly see which command is executed on workspace/executeCommand, without having to set verbose trace and open specific message item

Screenshot 2024-05-07 at 16 17 57

I'd like to see this instead:

[Trace - 16:14:46] Sending request 'workspace/executeCommand [gopls.reset_go_mod_diagnostics] - (62)'.
Params: {
  "command": "gopls.reset_go_mod_diagnostics",
  "arguments": [
    {
      "URI": "file:///Users/fbricon/Dev/souk/IdeaProjects/lsp4ij-tests/untitled/src/go.mod",
      "DiagnosticSource": ""
    }
  ]
}

[Trace - 16:14:46] Received response 'workspace/executeCommand [gopls.reset_go_mod_diagnostics] - (62)' in 2ms.
No result returned.
angelozerr commented 3 months ago

The trace follows the same format than vscode, so before doing that it should be nice that vscode change that too.

fbricon commented 3 months ago

no we don't have to wait for them if it's an improvement. We have collapsible traces they don't have