Live data from Hacker News

YouCompleteMe - A code-completion engine for Vim

valloric.github.io

71–78 of 78 posts

Re: YouCompleteMe - A code-completion engine for Vim

#71
post #19

Earlier quoted context omitted.

Ditto. Here was my "super-quick installation" experience on OS X: 1. Read through the full page of installation instructions. 2. Update to latest version of MacVim. 3. Go research Vundle because up until now, I've been happily using Pathogen. Install Vundle. 4. Update vimrc file for Vundle, add YCM. 5. Launch vim, note error saying YCM needs installation. 6. Run :BundleInstall, which tells me I should compile and imp…

> 9. Launch vim, which immediately crashes with error: Vim: Caught deadly signal ABRT Had the same problem. There's something about this in the FAQ: One should delete and re-install python if it was installed through brew. (Doing this and recompiling YCM worked for me.) The other gripe was: "Add YCM to vundle" ... without any mention of what exactly to add. Then the thing started complaining about the missing .extra_…

You don't really need to completely uninstall homebrewed python. Just `brew unlink python` and after installation `brew link python`.

Re: YouCompleteMe - A code-completion engine for Vim

#72

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 :)

Anyone know of a tool or system out there that automates the creation of binaries for several systems and then adds them to a key-value file with arch : binary_file_name pairs that can be consumed by an install script or curl pipe to shell install.

Re: YouCompleteMe - A code-completion engine for Vim

#73
post #70
post #62

Earlier quoted context omitted.

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... ;-)

Writing a comment on HN takes me 30s-2m tops. Going on a yak shaving expedition can swallow up hours.

Re: YouCompleteMe - A code-completion engine for Vim

#76
post #27
post #26

Earlier quoted context omitted.

I just had to rename vim in /usr/bin so it'd pick up the /usr/local/bin homebrewed version instead, but yeah, this.

That likely means your PATH is out of order, if ordered correctly /usr/local/bin should override /usr/bin. Can save you needing to do that in the future.

Hey, thanks!

Re: YouCompleteMe - A code-completion engine for Vim

#77

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…

YCM developer - thank you. I spent about 45 hours a week actively coding C++ using YCM. It is wonderful. Your work is appreciated.

Re: YouCompleteMe - A code-completion engine for Vim

#78
I love YCM.

My only issue with installation was that I would prefer to actually upgrade my systems clang, instead of just installing it in my home dir, and there aren't step by step instructions for doing so.

Once it is installed it is great for C lang stuff and python. It makes me wish other languages had equally good support you could integrate. Perl omni complete is super slow for example. But I know that isn't you.

Post reply on HN