Live data from Hacker News

YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim

val.markovic.io

61–70 of 119 posts

Re: YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim

#61
post #27

Very cool. Has anyone gotten this working on Windows?

I'm having some issues compiling it on windows at the moment, specifically when compiling BoostParts. Saying "::hypot has not been declared". I'll update if I get it to compile

Re: YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim

#62

Earlier quoted context omitted.

Is there a way to dismiss it without using the autocomplete?

ESC will do it. But you shouldn't really need to. You just continue typing and the menu goes away and pops back as needed. It does its best to be unobtrusive.

I was worried about interaction with Snipmate :) that's probably been accounted for, though. I'm really looking forward to trying this out.

Re: YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim

#63
post #58

Haven't had a chance to try this yet, but I can definitely say that this was a serious sore spot for vim. AutoComplPop is great (and is what I use), but it lacks Fuzzy Search which is very important to me. I tried installing NeoComplCache, but even after spending a lot of time on it, couldn't get it working properly - plus, it slowed down vim, by a LOT. I'm talking, opening a buffer took a visible amount of time. If…

I second that, NeoComplCache is just too slow, I had issues where it simply hung vim for 2-3 seconds every time I tried to complete something, completely negating any speedup I might get from completing.

Re: YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim

#64
post #27

Very cool. Has anyone gotten this working on Windows?

I'm having some issues compiling it on windows at the moment, specifically when compiling BoostParts. Saying "::hypot has not been declared". I'll update if I get it to compile

Removing

    #define hypot _hypot
from pyconfig.h (in my python include folder) got me to another hurdle

    function 'PyObject* boost::python::converter::do_return_to_python(char)' definition is marked dllimport
I have no idea what that means (never touched C++ in my life)

Re: YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim

#65
It's a pity that it doesn't support Java, it's more or less also a C family language (if one puts Objective-C and C++ in same bucket as pure C).

Or maybe someone tried it in Java?

I would really like to have better support for Java in vim(just editing and code completion, I don't debugger in vim). Do you know some useful plugins for this? I tried several (I don't remember the names) and I'm back to old omnicomplete that's in vim.

Re: YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim

#68
post #39

I want to see developers who are experts in IDea, emacs, vim, etc. face off to code a variety of projects in several languages/frameworks side by side in each editor/IDE so we talk about the empirical differences. vim is a lot faster for many things, but I wonder how well it compares when you need to debug Java remotely (in a container on another server), for example.

The vim editor is awesome, but all this 'bolt on a bunch of stuff to make vim more like an IDE' is misguided imo. If you use Java, use eclim for a vim-like experience in Eclipse; if you use Visual Studio, use viemu. (that said, I still wrote a vim plugin to display the php manual function declaration in the status bar when you have your cursor nead the name of a vim function... but just because there is no 'real' IDE…

I haven't used it but is PhpStorm no 'real' IDE for PHP? There's a vim plugin for various JetBrains products too (including PhpStorm) and it works well with IDEA.

Re: YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim

#69

Wow, I can't use this in Ubuntu because it requires Vim 7.3.584 and Ubuntu comes with 7.3.547...

You can, just follow these simple, but detailed instructions for Ubuntu users for upgrading vim: https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-... To not mess with system-installed vim: remove --prefix option and VIMRUNTIMEDIR, then build and install with sudo make install, which will put the files in /usr/local.

Re: YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim

#70

Earlier quoted context omitted.

I'm having some issues compiling it on windows at the moment, specifically when compiling BoostParts. Saying "::hypot has not been declared". I'll update if I get it to compile

Removing #define hypot _hypot from pyconfig.h (in my python include folder) got me to another hurdle function 'PyObject* boost::python::converter::do_return_to_python(char)' definition is marked dllimport I have no idea what that means (never touched C++ in my life)

Letting this rest for now, I'd like to hear if others have any success
Post reply on HN