You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You may also try reproduce the issue using clean environment using the following command: M-x lsp-start-plain
Bug description
Emacs hangs for few seconds then
lsp-workspace-command-execute: ‘workspace/executeCommand’ with ‘java.completion.onDidSelect’ failed.
(error "Timeout while waiting for response. Method: workspace/executeCommand")
is logged in *Messeges* buffer and
[1371.13][ERROR]: Command java.completion.onDidSelect not supported by the server
in *semgrep-ls::stderr* buffer.
The issue is caused by semgrep-ls. If semgrep is not present in $PATH and thus not started then completion works quickly and fine.
Steps to reproduce
Enable (java +lsp +tree-sitter) module in Doom Emacs.
Install semgrep on the system (pip install --user semgrep in my case)
Open any Java file
Select completion from the list and hit enter
Expected behavior
Completion works as well as it did without semgrep while still providing semgrep static analysis info.
Logs are from gradle project but the same thing happens in any Java file. M-x lsp-start-plain does not seem to start lsp-java only semgrep-ls and I cannot run lsp-install-server when semgrep is present (throws errors).
Tried in another PHP project with iph and semgrep-ls and completion worked just fine!
The text was updated successfully, but these errors were encountered:
Thank you for the bug report
lsp-mode
related packages.M-x lsp-start-plain
Bug description
Emacs hangs for few seconds then
is logged in
*Messeges*
buffer andin
*semgrep-ls::stderr*
buffer.The issue is caused by
semgrep-ls
. Ifsemgrep
is not present in$PATH
and thus not started then completion works quickly and fine.Steps to reproduce
pip install --user semgrep
in my case)Expected behavior
Completion works as well as it did without
semgrep
while still providingsemgrep
static analysis info.Which Language Server did you use?
lsp-java, semgrep-ls
OS
Linux
Error callstack
Anything else?
Logs are from
gradle
project but the same thing happens in any Java file.M-x lsp-start-plain
does not seem to startlsp-java
onlysemgrep-ls
and I cannot runlsp-install-server
whensemgrep
is present (throws errors).Tried in another PHP project with
iph
andsemgrep-ls
and completion worked just fine!The text was updated successfully, but these errors were encountered: