blahgeek / emacs-lsp-booster

Emacs LSP performance booster
MIT License
418 stars 12 forks source link

How to make this work with lsp-java? #19

Open SreenivasVRao opened 6 months ago

SreenivasVRao commented 6 months ago

Many thanks for this package! Was wondering what happened to the JSON RPC improvements that the LSP folks demoed!

I'm trying to use this with lsp-java and I'm not seeing any logs indicating lsp-booster is being triggered.

blahgeek commented 5 months ago

I'm not seeing any logs indicating lsp-booster is being triggered.

Firstly you may check that if emacs-lsp-booster process is launched (e.g. using ps in linux). If not, then there may be some problem with the lsp-booster--advice-final-command advise and you may further debug the issue by adding some logs in lsp-stdio-connection function; If the emacs-lsp-booster process is already launched, you should be able to find some logs in the *xxx:stderr* buffer

huangfeiyu commented 3 months ago

For me, moving the executable emacs-lsp-booster to /usr/bin/ solved my problem.