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

<C-Space> for top level semantic completion doesn't work. #61

Closed
meh opened this issue Feb 6, 2013 · 4 comments
Closed

<C-Space> for top level semantic completion doesn't work. #61

meh opened this issue Feb 6, 2013 · 4 comments

Comments

@meh
Copy link
Contributor

meh commented Feb 6, 2013

Looking at :map it's not even shown, am I doing something wrong?

:messages doesn't show any error either.

Also is there a way to check if semantic completion is actually working?

Printing YouCompleteMe debug information...
-- Flags for /tmp/lol.c:
-- ['-Wall', '-Wextra', '-Werror', '-I', 'include', '-I', 'source', '-I', '/home/meh/projects/vim/config/plugins/you-complete-me/autoload/../python/clang_includes']
-- Has Clang support compiled in: True
-- clang version 3.2 (tags/RELEASE_32/final)

That's the output info, I have math.h included but if I type a it doesn't show acos or anything, is that expected or am I doing something wrong?

@Valloric
Copy link
Member

Valloric commented Feb 7, 2013

Are you trying to call it from console Vim? That probably won't work, depending on your terminal. Most terminals wont't pass Ctrl+Space to Vim. You should remap the key to something else.

@Valloric Valloric closed this as completed Feb 7, 2013
@Valloric
Copy link
Member

Valloric commented Feb 7, 2013

Oh, my previous comment applies if you actually got semantic completion working. If you haven't, then try to access a member of a struct or similar.

@meh
Copy link
Contributor Author

meh commented Feb 7, 2013

How do I remap it? How do I check why semantic completion isn't working?

@meh
Copy link
Contributor Author

meh commented Feb 7, 2013

Ok it wasn't working at all because you have to set it to something feasable in the terminal version for it to work, the default should really be changed to something usable in both versions of vim.

@hardboydu hardboydu mentioned this issue Jul 4, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 23, 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