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

clang_complete only automatically complete after ->, ., :: ? #563

Open
oronge opened this issue Sep 12, 2018 · 6 comments
Open

clang_complete only automatically complete after ->, ., :: ? #563

oronge opened this issue Sep 12, 2018 · 6 comments

Comments

@oronge
Copy link

oronge commented Sep 12, 2018

can clang_complete complete after other charachers ?

@xaizek
Copy link
Collaborator

xaizek commented Sep 12, 2018

It can't on its own, but see #561 for two plugins that can make clang_complete work this way.

@oronge
Copy link
Author

oronge commented Sep 12, 2018

thank you ! but, here i refer to C/C++,
for example, if I just input "str", can it complete string use clang?

In addition, if I input "std::stri", and type "Backspace" to delete the last character 'i', the complete will disappear, it won't appear even though I input 'i' again, is there any way to reserve it ?

@xaizek
Copy link
Collaborator

xaizek commented Sep 12, 2018

Neo/mucomplete make completion appear after you type several characters automatically. If you just want to trigger the completion manually, press Ctrl-XCtrl-U.

@oronge
Copy link
Author

oronge commented Sep 12, 2018

Thanks! I'll try it.
It seems clang_complete doesn't complete for header files ? If I input
#include <ios
can make it complete "iostream" ?

@xaizek
Copy link
Collaborator

xaizek commented Sep 12, 2018

For headers, see #550. It also requires additional plugins.

@oronge
Copy link
Author

oronge commented Sep 12, 2018

Learn it, Thank you

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