ycm-core / YouCompleteMe

A code-completion engine for Vim
http://ycm-core.github.io/YouCompleteMe/
GNU General Public License v3.0
25.48k stars 2.81k forks source link

Completion Doesn't Work in New (Unsaved) Tabs #568

Closed aflatt closed 11 years ago

aflatt commented 11 years ago

I'm guessing this may be by design, but I've noticed that the completion system does not seem to work for any newly created tabs.

The follow procedure should illustrate the problem:

elken commented 11 years ago

AFAIK, the file has to be saved and reloaded before the completion can do its magic.

Valloric commented 11 years ago

This has been fixed on the ycmd brach of YCM. Don't use that branch, it's not ready yet. It should be merged into master in a week or so.

Thanks for reporting the bug and providing a good test case!