Live data from Hacker News

YouCompleteMe - A code-completion engine for Vim

valloric.github.io

61–70 of 78 posts

Re: YouCompleteMe - A code-completion engine for Vim

#61
post #12

Earlier quoted context omitted.

But you had plenty of time to bitch about it? ;-) Edit: It suddenly occurred to me just how reliant everyone now is on package managers. Once upon a time, I would think installing a dependency or two before compiling a new toy commonplace, if not expected. Nowadays... it's yak shaving. Not that I'm no less guilty of this. I've even downloaded AUR helper tools because I'm too lazy to even wget a package and do a makep…

The yak shaving part is not the steps described, but the steps not described that will end up being required. Where you follow the given steps carefully and one fails because whichever version of something is not the right one, then you end up in a weird state where you have a hard time going back to how your setup was before, and you have to google things like "Compiler error: missing dependency foo.h" even though y…

Exactly.

Been there, done that, got a billion t-shirts and switched away from Linux to get away from this.

Re: YouCompleteMe - A code-completion engine for Vim

#62

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…

> you _have to_ compile the ycm_core 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 :)

Indeed, and if it's about saving on duplicating libraries, that's less important to me than saving on installation time. I don't care if it loads up 20 megs of duplicated libraries because you had to hard-link them in. I have loads of RAM, very little time to set things up.

Re: YouCompleteMe - A code-completion engine for Vim

#63

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…

All in all, if the installation procedure is the main complaint, I'm happy (not really, but you get the point) because that means that actually _using_ the plugin is a good experience (I hope). The installation you go through once and forget about; you use the plugin every day.

Except, I don't. I haven't installed it because I have a feeling this will be way more hassle than it looks (a feeling validated by several comments in this thread) and I don't have the time to do that kind of stuff.

Re: YouCompleteMe - A code-completion engine for Vim

#64
post #63

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…

All in all, if the installation procedure is the main complaint, I'm happy (not really, but you get the point) because that means that actually _using_ the plugin is a good experience (I hope). The installation you go through once and forget about; you use the plugin every day. Except, I don't. I haven't installed it because I have a feeling this will be way more hassle than it looks (a feeling validated by several c…

That's perfectly fine. To each his own! :)

Re: YouCompleteMe - A code-completion engine for Vim

#66

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…

To be honest, I found it completely reasonable, and as quick as a compilation step could be. I didn't install it yet due to the new Vim version dependency, but I will as soon as I get the new Vim version.

Re: YouCompleteMe - A code-completion engine for Vim

#68

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…

Looks like an awesome project, really.

I would love to use it.

Please let us know when installation is less of a kluge.

I followed your full install directions to a T and I'm getting "YouCompleteMe unavailable: ycm_core too old, PLEASE RECOMPILE ycm_core" on Vim start-up. This doesn't appear to be a Python version issue (everything is showing 2.7) and I downloaded the Clang binaries as directed.

Re: YouCompleteMe - A code-completion engine for Vim

#69

Earlier quoted context omitted.

"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.

Tongue-in-cheek Humor/sarcasm does not convey well in text — especially when the _readers_ are not expecting it.

Especially when after going through the full installation process, YCM crashes on start-up...

Re: YouCompleteMe - A code-completion engine for Vim

#70
post #62

Earlier quoted context omitted.

> you _have to_ compile the ycm_core 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 :)

Indeed, and if it's about saving on duplicating libraries, that's less important to me than saving on installation time. I don't care if it loads up 20 megs of duplicated libraries because you had to hard-link them in. I have loads of RAM, very little time to set things up.

Yet lots of time to comment on HackerNews... ;-)
Post reply on HN