-
-
Notifications
You must be signed in to change notification settings - Fork 914
Remote clangd JSON parse error #4150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
yyoncho
added a commit
to yyoncho/lsp-mode
that referenced
this issue
Oct 27, 2023
- This fixes the implementation of `lsp-mode` tramp support. After this PR the remote clients will be automatically registered and in most of the cases it will work out of the box. The remote connection is managed to a way similar to what eglot does. Fixes emacs-lsp#4158 Fixes emacs-lsp#4150 Fixes emacs-lsp#4158 Fixes emacs-lsp#4150 Fixes emacs-lsp#3841 Fixes emacs-lsp#3642 Fixes emacs-lsp#3579 Fixes emacs-lsp#3530 Fixes emacs-lsp#3491 Fixes emacs-lsp#3490 Fixes emacs-lsp#3391 Fixes emacs-lsp#3369 Fixes emacs-lsp#3364 Fixes emacs-lsp#3020 Fixes emacs-lsp#3018 Fixes emacs-lsp#3020
yyoncho
added a commit
to yyoncho/lsp-mode
that referenced
this issue
Oct 30, 2023
- This fixes the implementation of `lsp-mode` tramp support. After this PR the remote clients will be automatically registered and in most of the cases it will work out of the box. The remote connection is managed to a way similar to what eglot does. Fixes emacs-lsp#4158 Fixes emacs-lsp#4150 Fixes emacs-lsp#4158 Fixes emacs-lsp#4150 Fixes emacs-lsp#3841 Fixes emacs-lsp#3642 Fixes emacs-lsp#3579 Fixes emacs-lsp#3530 Fixes emacs-lsp#3491 Fixes emacs-lsp#3490 Fixes emacs-lsp#3391 Fixes emacs-lsp#3369 Fixes emacs-lsp#3364 Fixes emacs-lsp#3020 Fixes emacs-lsp#3018 Fixes emacs-lsp#3020
yyoncho
added a commit
that referenced
this issue
Nov 1, 2023
* Fix lsp-mode's tramp support - This fixes the implementation of `lsp-mode` tramp support. After this PR the remote clients will be automatically registered and in most of the cases it will work out of the box. The remote connection is managed to a way similar to what eglot does. Fixes #4158 Fixes #4150 Fixes #4158 Fixes #4150 Fixes #3841 Fixes #3642 Fixes #3579 Fixes #3530 Fixes #3491 Fixes #3490 Fixes #3391 Fixes #3369 Fixes #3364 Fixes #3020 Fixes #3018 Fixes #3020 * Use executable-find with remote = t everywhere
Thanks @yyoncho ! Very much appreciated. |
yyoncho
added a commit
to yyoncho/lsp-mode
that referenced
this issue
Nov 2, 2023
* Fix lsp-mode's tramp support - This fixes the implementation of `lsp-mode` tramp support. After this PR the remote clients will be automatically registered and in most of the cases it will work out of the box. The remote connection is managed to a way similar to what eglot does. Fixes emacs-lsp#4158 Fixes emacs-lsp#4150 Fixes emacs-lsp#4158 Fixes emacs-lsp#4150 Fixes emacs-lsp#3841 Fixes emacs-lsp#3642 Fixes emacs-lsp#3579 Fixes emacs-lsp#3530 Fixes emacs-lsp#3491 Fixes emacs-lsp#3490 Fixes emacs-lsp#3391 Fixes emacs-lsp#3369 Fixes emacs-lsp#3364 Fixes emacs-lsp#3020 Fixes emacs-lsp#3018 Fixes emacs-lsp#3020 * Use executable-find with remote = t everywhere
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for the bug report
lsp-mode
related packages.M-x lsp-start-plain
Bug description
When using LSP mode with TRAMP, the remote clangd's status stays as "starting" indefinitely. On the other machine, a file
tmp/clangd-remote-1-stderr
appears with the following contents:Setting
lsp-log-io
tot
per the troubleshooting steps, the content of my*lsp-log: clangd-remote:XXXX*
buffer contains the following:My remote LSP client config is as follows:
I believe this is a recent regression - I updated to Emacs 29.1 and updated my
lsp-mode
package at the same time, so something broke it, but it's hard to say what.Steps to reproduce
lsp-mode
, configure for a remote client as per the descriptiongit clone https://github.com/wiredtiger/wiredtiger.git
,cd wiredtiger
,mkdir build
,cd build
,cmake -DEXPORT_COMPILE_COMMANDS=ON ../.
,cp compile_commands.json ..
/ssh:blah/wiredtiger/src/txn/txn.c
clangd
state remains "starting".Expected behavior
I should be able to use LSP-mode, e.g. jumping to definition.
Which Language Server did you use?
clangd-13
OS
MacOS
Error callstack
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: