How do I properly setup LSP for Cpp and fix missing items #4432
-
Hello, When I run:
How can I fix all the items? I mean for example how can I fix the "Binary for language server" and make it detectable in the PATH? and what is the "binary for language server" in the first place? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Language Servers are standalone executables - for C/C++ it's You can install Language Servers through whatever package manager is used on your distribution (apt, brew, chocolatey, etc.) or follow the installation instructions directly for the Language Server. https://github.com/helix-editor/helix/wiki/How-to-install-the-default-language-servers has some notes and links on installing the default Language Servers. |
Beta Was this translation helpful? Give feedback.
Language Servers are standalone executables - for C/C++ it's
clangd
, for Rust it'srust-analyzer
. In order to get Language Server features, you'll need to install the Language Server and make sure the binary is available in$PATH
: you should be able to invoke it on the command line.You can install Language Servers through whatever package manager is used on your distribution (apt, brew, chocolatey, etc.) or follow the installation instructions directly for the Language Server. https://github.com/helix-editor/helix/wiki/How-to-install-the-default-language-servers has some notes and links on installing the default Language Servers.