-
Notifications
You must be signed in to change notification settings - Fork 17
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
libclang
versus clang -cc1
#2
Comments
Hello!
I've only gone ankle deep in C++, so I couldn't say how to improve completions for it. All I can tell you is that accurate completions boils down to parsing and presenting completions that are contextual for the current position in a file. But, that depends on how well If you're looking for another option, you could try the nvim-langserver-shim created by the venerable @tjdevries. There's a C++ langserver provided by Microsoft, but it looks like you'll need VS Code running. |
Thanks a lot for the explanation @tweekmonster. So, what is the advantage of using I think my only problem with |
For this plugin, it's simply faster for as-you-type completions. The completions provided by It also helps that using
Maybe I could help if you post an examples, and explain what does and doesn't work.
This reminded me of a feature I wanted to add. 58079e5 |
I will try to post a minimal example of what isn't working in headers next weekend. Thanks! |
Hi there, thanks for the plugin. I am trying to search a little bit about what is the difference between using
libclang
or using the clang front endclang -cc1
? And only this FAQ.I've found
libclang
unreliable with heavy templated code inc++
, and happy to explore alternatives.Any clarification, or link to information would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered: