-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
I most often get no useful completion - in my big project. #43
Comments
@Ploppz Thanks issue. I will debug it later. |
completion-test.zip Bonus question: I'm curious: When does deoplete-clang update the tags / whatever info it needs about members, classes, functions etc.? Only when you start vim? |
@Ploppz Thanks example :) and understood your said meaning.
It meaning of, When does deoplete-clang get the AST information of the current buffer? |
Yeah, that's probably what I mean. I can best explain with a practical example: if I have just written a class and started to use it, can I expect completion on instances of the class immediately, or do I have to restart vim or something else? Another question, maybe related: Does deoplete/deoplete-clang keep state? - my CPU gets quite busy for maybe 10 sec, every time I stop at a |
@Ploppz got it.
:) |
Reproduced. |
I have tested it in vim-marching. |
@Ploppz Please test it using YouCompleteMe. |
@Ploppz Please upload your clang version. |
Sorry I didn't get around to testing either issues yet. I do have clang version 3.8. Will deoplete-clang support clang 3.8 in the near future or do I have to downgrade clang? Or is there another solution? |
It should be. But it is @zchee 's work. I cannot support it. |
Problems summary
Using deoplete / deoplete-clang, writing C++, I often get only weak completion (just a list of could-be-useful words/predictions). For example in this function, why don't I get completion on std::deque?
Another case:
The class has a member
SAP<int>& broadphase_alg;
with several public members and methods. But again I only get useless information:Expected
Proper completion.
Environment Information
Provide a minimal init.vim with less than 50 lines and not plugin manager (Required!)
The reproduce ways from neovim starting (Required!)
I would have to share all the code of my project. I tried making a minimal test case but in the test case it all works... it's only in my big project deoplete-clang seldomly works.
Generate a logfile if appropriate
http://sprunge.us/EWVG
I guess I have some things missing, but I just couldn't reproduce the errors with a minimal test case. I really hope you can help me. I've been struggling a long time to write this issue (finding any pattern in the problems, finding a minimal test case...). Please ask me if there's anything more you need to know. Maybe I've overlooked something really basic.
The text was updated successfully, but these errors were encountered: