*lsp-log*buffer and verify that
lsp-modeis able to find the server. If
lsp-modeis unable to find the binary but it is on the path it is probably caused by the fact that emacs is running with different path. You may check the current path by executing M-:
(getenv "PATH"). If this is the case, you have several options to fix the issue.
- make sure that emacs is using the proper path by running emacs from terminal.
- Modify the path using
- Look for
lsp-modevariable to customize server path. Usually, you may find the variable by doing: M-x
tto inspect communication between client and the server. Use
lsp-workspace-show-logto switch to the corresponding log buffer.
lsp-describe-sessionwill show the current projects roots + the started servers and allows inspecting the server capabilities:
- If you manage your Emacs packages with the built-in
package.el, we recommend the following procedure to update your packages:
- Delete your LSP-related packages
- Restart Emacs
- Install the new versions of the packages.