Live data from Hacker News

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

val.markovic.io

91–100 of 119 posts

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

#91
Cool, but.

Almost all the tools (shells, editors, sql clients) I use; either have (or I made to have) tab completion. This has been true to various degrees for 20years. Tab key to complete is utterly ingrained in my muscle memory.

And, the constantly on, constantly changing completions "suggestions" are utterly distracting.

Would like to see the "engine" plugged into standard vim completion (omnicomplete).

People who think vim completion is poor need to checkout supertab, jedi-vim, and language specific plugins such as python_calltips.

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

#92

Cool, but. Almost all the tools (shells, editors, sql clients) I use; either have (or I made to have) tab completion. This has been true to various degrees for 20years. Tab key to complete is utterly ingrained in my muscle memory. And, the constantly on, constantly changing completions "suggestions" are utterly distracting. Would like to see the "engine" plugged into standard vim completion (omnicomplete). People who…

To each his own, I personally love it. :)

There's been a few requests for keeping the semantic completion engine but turning off the identifier-based engine (this is the "always-on" part) so the feature will be implemented some time soon.

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

#93

Cool, but. Almost all the tools (shells, editors, sql clients) I use; either have (or I made to have) tab completion. This has been true to various degrees for 20years. Tab key to complete is utterly ingrained in my muscle memory. And, the constantly on, constantly changing completions "suggestions" are utterly distracting. Would like to see the "engine" plugged into standard vim completion (omnicomplete). People who…

[deleted]

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

#94
post #86

I ran into a couple of issues while building vim with python support (which I haven't needed until now). I have arch linux and python3 was symlinked to /usr/bin/python, the build script cached this and once I fixed the symlink to point to /usr/bin/python2 it was still giving an error. I manually fixed the check in the build script, compiled, but then the plugin didn't recognize +python/dyn so I had to rebuild without…

Having both python2 and python3 enabled in your Vim can lead to nasty results. I remember Vim used to crash if you source a python2 file into it (thus starting the python2 interpreter) and a python3 file some time later (thus also starting the python3 interpreter). They didn't seem to like existing in the same process.

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

#95

Earlier quoted context omitted.

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.

If your going to use Snipmate, you may want to remap the completion selection key from TAB to something else (if you want to use TAB for Snipmate). See the docs for details.

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

#96
post #81

Earlier quoted context omitted.

It breaks down when you use it in other common ways, like from your git configuration.

You can't use vim anyway in git: you must give it the full path.

No, just 'vim' itself is fine, if you have a 'vim' in your PATH.

https://github.com/search?q=%27editor+%3D%27++extension%3A.g...

What I usually do is maintain a set of symlinks in ~/bin/ (which is in my PATH) if they are not already in my PATH (or if I want them to override something else in my PATH, like HEAD builds of various things on occasion), and only use aliases to set default arguments (`ls --color=auto` for example).

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

#98
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 worked with Zend Studio around it's 5th release and it was quite ok. Don't know about now, though.

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

#99
I like the concept and awesome for the fellow to release it... however in the past the following have seriously messed up any attempts of mine to get sensible autocompletion in vim: working in cygwin, projects > 2mil lines of code, and varying types of build infrastructures.

I'll try it, but I'm not hopeful :(

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

#100
post #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 t…

eclim works really well for me, though it may be a bit too powerful (i.e. it does everything eclipse does, which includes debugger).

Unfortunately I'm a IntelliJ IDEA guy, so configuring projects in eclipse just to use it in vim would be an overkill.
Post reply on HN