:CocCommand clangd.install
See original GitHub issueI’m following the “Quick Start” guide and have run into problems on the :CocCommand clangd.install
step. The guide claims coc-clangd
will try to find clangd
in my $PATH
. I know that clangd
is not in my $PATH
, but I see no output from :CocInstall coc-clangd
that it looked and failed to find it. I only see a single line with a green check that it installed into .config/coc/extensions/node_modules/coc-clangd
.
When I run :CocCommand clangd.install
to have it fetch the latest release, it returns [coc.nvim] Command: clangd.install not found
.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
coc-clangd - npm
clangd extension for coc.nvim. ... Start using coc-clangd in your project by running `npm i coc-clangd`. ... Install. npm i coc-clangd ...
Read more >Clangd is not found in VIM using neoclide / coc.nvim
I typed in Vim :CocInstall coc-clangd; Complains about clangd is not installed; sudo apt-get ...
Read more >[coc.nvim] clangd was not found on your PATH. - Reddit
:CocCommand clangd.install will install 15.0.3. ... I'm trying to downgrade my clangd version, and I've installed Clangd-13 and set it as the clangd...
Read more >Frequently Asked Questions (FAQ) - What is clangd? - LLVM
How do I install clangd? ... Can you give an example configuration file for clangd? ... coc-clangd gives you the logs via :CocCommand...
Read more >neoclide/coc.nvim - Gitter
I've wanted to play with clangd and installed coc-clangd with :CocInstall ... like :CocCommand clangd.install I'm getting [coc.nvim] Command: clangd.install ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You need to open C/C++ files to run
:CocCommand clangd.install
.I came up with the same problem, but I figured out why, just run :CocConfig, and it opens the config file: coc-settings.json, add
clangd.path
as folllows:or if you installed clangd as coc suggests(:CocCommand clangd.install), the path should be something like this:
$HOME/.config/coc/extensions/coc-clangd-data/install/*/clang*/bin/clangd
make sure clangd is included in the path as you can see, I use llvm, which already includes clangd, so I do not need to install clangd suggested by coc