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
Does not work at after pressing . or :: What should I do in order to make it work? #463
Comments
Hello, I am experiencing this same issue on neovim with deoplete + clang_complete: Shougo/deoplete.nvim#125 (comment) @Shougo: Can you elaborate on what the problem seems to be? |
min_pattern_length should be 0. |
See also: https://git.io/vzWX4 Related: xavierd#463
Good thing that this issue was mentioned, because, I've recently installed clang_complete for Vim in a different machine (Mac OS X) and I'm experiencing similar problems, I have had no problems while using the scope operator Here's what I have on my .vimrc file:
Notice that I'm pointing to XCode's installed libclang, I've always wondered if it's best to point to a clang installed separately via brew, but there aren't many guides out there on how to configure it that way |
@jlstr, I would expect that if |
Hello there, thank you for the reply! here's the rest of
I have nothing else in it. What do you think? |
Why? This might be the reason completion doesn't work for you. Try setting |
Didn't work, sir. Moreover... The problem is worse than I imagined, now all method dot completions aren't working: https://www.youtube.com/watch?v=rlQPgLfaacc Here's my actual complete |
Hello again! I really really hope you can help me out with this issue, I have removed ALL the other plugins that I had installed, re-installed clang_complete, and reduced my And still, the problem remains! I can't do any completions of the type: This is driving me crazy, I can't get it to work, and I'm sure I have Googled the entire internet for answers.... but no luck. Thank you very much in advance. |
Maybe try using different libclang? In case current one can't find corresponding headers. Hm, maybe python bindings to libclang used by clang_complete are too outdated and something goes completely wrong... That could probably explain what's going on here. |
Interesting observations sir! now that you mention using a different libclang, I have to say that I recently installed Android Studio, and apparently it comes with its own libclang.
So, The obvious question is: Which different libclang do I install?, I have a gut feeling the problem is indeed libclang, but for Mac OS X the only that seems to be available..
is clang-omp (https://clang-omp.github.io/), Do you recommend installing that one? |
Regarding the python bindings, I have No Idea what are those, are those related to the |
Please stop calling me "sir", it makes me feel uncomfortable :-) Not an OS X user, just saw you mentioned homebrew having it. I think it might come with LLVM if you enable building clang for it (if it's not built by default). Bindings are these: https://github.com/Rip-Rip/clang_complete/tree/master/plugin/clang Also try setting |
Hi @jsfaint, thank you for your reply. I have the exact same line to invoke Xcode's installed I also installed LLVM which indeed comes with its own version of libclang, but it didn't work either. So, I think I have officially given up with this plugin. Sad part is... YouCompleteMe has the exact same problem. Even though it installed perfectly, its output points to a myriad of live-compilation problems, mostly about missing headers, and protected variables. Headers that I don't think belong to core C++ btw. |
@xaizek Sorry, clang_complete.py should set |
See #463 (comment) This is a new option though, so probably needs latest deoplete.
@Shougo, thanks for the notice, updated. |
👍 |
Hello, I've been trying to use this Vim plugin and so far no success whatsoever.
For example:
doesn't do anything when I stop typing.
Or:
doesn't show any drop-down with methods either. I have no idea what to do in order to make it work, I have tried many of the options found in the docs: https://github.com/Rip-Rip/clang_complete/blob/master/doc/clang_complete.txt, Also, I have tried some of the answers in StackOverflow, etc
but it won't work at all.
What should I do? I don't even know where to begin.
The text was updated successfully, but these errors were encountered: