-
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
Paths to headers get completed but everything else does not #15
Comments
Quick update. Still not resolved, |
This may be related to #14. If you don't think it is, I'm fairly clueless when it comes to C++, unfortunately. |
Actually I think I see the issue, but I don't really have any means to confirm it. Could you try adding this: elif context.get('filetype', '') == 'cpp':
pat += r'::' below this line:
|
Like this? Nope, nothing changed |
Sorry, the pattern is wrong. It should be |
Wow! It works now! Thanks a lot! |
Great! I'll fix this shortly. |
Hey!
I'm just starting out with C++ and making a small project with
libcinder
. I build it with cmake configuration that Cinder provides. Everything works fine but I can't make auto completion work.What's interesting is that when I type
#include "(...)
a dropdown shows me a bunch of vaild options, including Cinder libs like:But when I try to see stuff in the included namespace typing something like
gl::(...)
... Nothing. I see only suggestions from buffer source.My
./compile_commands.json
looks like this:After running
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1
my project folder looks like this:Any help would be much appreciated. Thank you!
The text was updated successfully, but these errors were encountered: