I'm the main YCM developer. Most complaints here are about the installation procedure. I tried to make it as easy as possible, but the root of the problem is that you _have to_ compile the ycm_core module so that completion is fast. There's no going around it. The compiled module is the main reason why YCM is so fast when you get it configured. Other than complicated/rare configurations, installing YCM is IMO not tha…
Are you familiar with NeoBundle? It's mostly a drop-in replacement for Vundle, but it has support for post-installation hooks. This could potentially make it a one-step install (assuming NeoBundle was already installed). For example, here is the install snippet from vimproc, which also requires compiling: https://gist.github.com/lynndylanhurley/5951180 . https://github.com/Shougo/neobundle.vim
YouCompleteMe - A code-completion engine for Vim
51–60 of 78 posts
Re: YouCompleteMe - A code-completion engine for Vim
#52So I cloned the repo, ran install.sh and got prompted to run the git submodule checkout for jedi the first time I opened a python file. Seems like a pretty excellent installation process (on linux anyway) despite the "hackers" complaining in other comment threads. But the important part is that I'm really impressed by the completion ability, I've only played with it a bit but I'm leaving the rest of my plugins for th…
Yep, I added that check to better support the use case of people checking out the repo themselves instead of using Vundle (which will checkout the git submodules for you automatically).
I'm happy you enjoy the plugin!
Re: YouCompleteMe - A code-completion engine for Vim
#53I could not install it in my work machine as the OS is windows. As a replacement I use neocomplete.vim[1]. It is very fast, responsive, has fuzzy auto-complete. But it requires vim version greater than 7.3.885 and vim compiled with lua bindings. Still it is small annoyance compared to YCM installation procedure. [1] https://github.com/Shougo/neocomplete.vim
Re: YouCompleteMe - A code-completion engine for Vim
#54Earlier quoted context omitted.
Are you familiar with NeoBundle? It's mostly a drop-in replacement for Vundle, but it has support for post-installation hooks. This could potentially make it a one-step install (assuming NeoBundle was already installed). For example, here is the install snippet from vimproc, which also requires compiling: https://gist.github.com/lynndylanhurley/5951180 . https://github.com/Shougo/neobundle.vim
I use NeoBundle to run the YouCompleteMe module build upon installation. Works great. Especially since the build is triggered by a single simple command. (People really complain about that being hard?)
Re: YouCompleteMe - A code-completion engine for Vim
#55So I cloned the repo, ran install.sh and got prompted to run the git submodule checkout for jedi the first time I opened a python file. Seems like a pretty excellent installation process (on linux anyway) despite the "hackers" complaining in other comment threads. But the important part is that I'm really impressed by the completion ability, I've only played with it a bit but I'm leaving the rest of my plugins for th…
Re: YouCompleteMe - A code-completion engine for Vim
#56I'm the main YCM developer. Most complaints here are about the installation procedure. I tried to make it as easy as possible, but the root of the problem is that you _have to_ compile the ycm_core module so that completion is fast. There's no going around it. The compiled module is the main reason why YCM is so fast when you get it configured. Other than complicated/rare configurations, installing YCM is IMO not tha…
Couldn't you ship a several already compiled binaries for major OSes? What do you do during compilation (and do you have to do this during compilation instead of on runtime) that makes it impossible?
I'm not using VIM anymore, so the question is just at out of curiosity :)
Re: YouCompleteMe - A code-completion engine for Vim
#57Now, I went in and removed the -Werror flag from the makefiles and that got around it, but I get a ton of errors when i start vim, doing that:
Error detected while processing function youcompleteme#Enable: line 11: Traceback (most recent call last): Press ENTER or type command to continue Error detected while processing function youcompleteme#Enable: line 11: File "", line 1, in ? Press ENTER or type command to continue Error detected while processing function youcompleteme#Enable: line 11: File "/home/zdrillings/.vim/bundle/YouCompleteMe/autoload/../python/ycm/base.py", line 28 Press ENTER or type command to continue Error detected while processing function youcompleteme#Enable: line 11: except ImportError as e: Press ENTER or type command to continue Error detected while processing function youcompleteme#Enable: line 11: ^ Press ENTER or type command to continue Error detected while processing function youcompleteme#Enable: line 11: SyntaxError: invalid syntax Press ENTER or type command to continue Error detected while processing function youcompleteme#Enable: line 13: Traceback (most recent call last): Press ENTER or type command to continue Error detected while processing function youcompleteme#Enable: line 13: File "", line 0, in ? Press ENTER or type command to continue Error detected while processing function youcompleteme#Enable: line 13: NameError: name 'base' is not defined Press ENTER or type command to continue Error detected while processing function youcompleteme#Enable: line 13: E858: Eval did not return a valid python object Press ENTER or type command to continue YouCompleteMe unavailable: ycm_core too old, PLEASE RECOMPILE ycm_core
I'm guessing it's related. Does anyone have any advice on fixing some of this, so I can try this plugin? it sounds fantastic.
thanks in advance.
Re: YouCompleteMe - A code-completion engine for Vim
#58Earlier quoted context omitted.
Just don't advertise it as "super-quick installation", that's quite simply taking the piss.
"Super-quick" was intended to be a bit tongue-in-cheek, although compared to the Full Installation Guide (it's in the docs), trust me, the "super-quick" installation really is super-quick.
Re: YouCompleteMe - A code-completion engine for Vim
#59Re: YouCompleteMe - A code-completion engine for Vim
#60I already use Pathogen so I didn't use the suggested Vundle.
Just placed YouCompleteMe in ~/.vim/bundle/
ran the ./install.sh in the YouCompleteMe bundle directory and it worked.
Thank you guys, this seems awesome so far! :)