-
When I try to use eglot with clangd on a remote project (tramp) I keep getting errors from clangd about it not being able to find compile_commands.json. It tries too look in I know that clangd supports getting the compile commands directory from the initialization options. What would be the best way to provide it a compile_commands.json ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello @Liorst4 , I took the liberty of converting your issue to a GitHub "discussion". You're the first one, but I will be doing a lot of this in the future, since I need the issue list to be more focused. I hope someone can help you here (I can't at the moment, sorry). @bjc implemented the TRAMP functionality, but it also seems that your problem is related to non-tramp things? |
Beta Was this translation helpful? Give feedback.
-
My bad, apparently I was using version 1.7 from GNU elpa instead of the latest version from MELPA. |
Beta Was this translation helpful? Give feedback.
My bad, apparently I was using version 1.7 from GNU elpa instead of the latest version from MELPA.
In the new version it just runs clangd on the remote machine, which solves the issue.