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

Complete CTRL+X CTRL+O ? #52

Closed
lazywei opened this issue Feb 6, 2013 · 3 comments
Closed

Complete CTRL+X CTRL+O ? #52

lazywei opened this issue Feb 6, 2013 · 3 comments

Comments

@lazywei
Copy link

lazywei commented Feb 6, 2013

When I press CTRL+X CTRL+O in insert mode, there will pops a list of method I can use.

Can this be implemented in YCM? (i.e. don't need to press CTRL+X CTRL+O)

@Valloric
Copy link
Member

Valloric commented Feb 6, 2013

YCM won't do semantic completion on every keystroke because it's too slow (and largely unnecessary). The semantic engine is supposed to trigger on ., -> and similar characters after which a member method/variable is to be typed.

Also, the data you get on Ctrl-X Ctrl-O is coming from YCM as well, because it registers itself as the omnifunc.

@Valloric Valloric closed this as completed Feb 6, 2013
@lazywei
Copy link
Author

lazywei commented Feb 7, 2013

as Ruby, when

"blahblah".

and press Ctrl+X, Ctrl+O, it will show methods I can use for string
but if I didn't press that key, YCM won't be triggered ..

it's weird because you said that . it the trigger character
do i miss something?

@Valloric
Copy link
Member

Valloric commented Feb 7, 2013

There's no semantic completion for Ruby yet.

@hardboydu hardboydu mentioned this issue Jul 4, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants