-
-
Notifications
You must be signed in to change notification settings - Fork 953
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
coc-ccls not working #2088
Comments
That extension on npm is broken now, you can use vim-plug to install it from github. |
cd ~/.config/coc/extensions/node_modules/coc-ccls Does this work for you ? |
It appeared the author abandoned it, so I did too. I need to do some C development on a Raspberry PI, but neovim is laggy on that device, and when you add in code completion it is just too slow to be useful, so I decided to use CLion on my PC because it has excellent remote deployment capabilities ... |
@rolandjon thanks, that did it for me! |
thanks, that did it for me! |
I just hit this missing symlink on windows. Fixed locally much the same way. In powershell as admin:
|
That worked for me! Thanks! |
This should be in the README 🙂 |
For some reason listing |
@tony it's what the thread has been saying all along it seems (extension is broken). Life is easier with coc-clangd. |
If extension is dead, and wish to keep with ccls, I just configure the server and not use the extension, unless there's a newer one. |
How goes it @oblitum! I will take a look at coc-clangd. |
@tony hey 👍 |
@oblitum Moved over, things are much faster now. Surprised by how good clangd is |
@tony yup, the main argument for ccls when it was out was due to clangd's lack of cache, it now has cache and all that. |
hey! but how to configure with coc-clangd ,my clangd always gives me warning when it comes to c++11 standard |
Thanks for the clangd suggestion. |
Hi,
I installed coc.nvim using vim plug with the branch/master setting. It works well for lots of languages but when I installed coc-ccls it shows an error every time I start nvim:
[coc.nvim] Unable to load global extension at /home/psd/.config/coc/extensions
/node_modules/coc-ccls: main file ./lib/extension.js not found, you may need t
o build the project.
I did what it told me to do and went into ~/.config/coc/extensions/node_modules/coc-ccls and deleted the package lock and all its node modules, and then ran:
yarn install --frozen-lockfile
And it generated lots of errors LoL:
Result from CocInfo
I am running Void Linux, but this problem also appears on my Linux Mint laptop too. I think the coc-ccls extension is out of date and no longer compatible with some of the newer node modules you started using. I would fix the extension source code myself, but I'm a C hacker and don't know anything about javascript or typescript LoL
Thanks,
Phil
The text was updated successfully, but these errors were encountered: