Skip to content
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

Pattern not found for some standard libraries and only pick the first include #569

Open
Olivier-Delierre opened this issue Mar 13, 2019 · 1 comment

Comments

@Olivier-Delierre
Copy link

Hello,

I've some issues with this plugin on my Vim. I've installed it with the Vundle plugin manager for Vim, and linked the good folder for clang libs.

For the first issue, when I insert several includes on the top of my .cpp files, only the first is used to autocomplete the std:: word. So, if I include cmath as first, only cmath's functions will appears, and if I include iostream as first, only functions as cout or cin appears, and not cos or abs.

Secondly, when I include vector or map for example, I always finished with a pattern not found when I try to autocomplete a vector object, and the autocomplete menu doesn't show the vector class when I type std:: unlike with the iostream header for example.

Any suggestions about this ?

Olivier

@fhausman
Copy link

Hi

I've noticed similar issue as @Olivier-Delierre. When I configured clang_complete it doesn't suggest function names such as push_back, size etc. on vector objects. I'm not sure if it is capable of doing so but I was expecting such behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants