How does your pluggin scale?
YouCompleteMe - A code-completion engine for Vim
11–20 of 78 posts
Re: YouCompleteMe - A code-completion engine for Vim
#12How the hell is that a "super-quick installation" for Mac OS? Can anyone figure out an actually quick way to install it with Pathogen? PS: the plugin looks great - I'm just bitching about the installation docs because I'm in the middle of 10 different things at the moment and don't have the time to engage in a potential yak shaving expedition...
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 makepkg any longer.
Re: YouCompleteMe - A code-completion engine for Vim
#13How the hell is that a "super-quick installation" for Mac OS? Can anyone figure out an actually quick way to install it with Pathogen? PS: the plugin looks great - I'm just bitching about the installation docs because I'm in the middle of 10 different things at the moment and don't have the time to engage in a potential yak shaving expedition...
Re: YouCompleteMe - A code-completion engine for Vim
#14Sadly, it is still not working too well with Objective-C, which is currently my main language (1). Luckily, unofficial VIM plugins for XCode like XVim (2) or VIEmu (3) are getting better and better, so at least I can use vim bindings for objective-c now, too. Nevertheless, good clang support in Vim would still be great, so that I could tap into the huge amount of vim plugins during objc development. [1] https://githu…
i tried to add that functionality to youcompleteme, but the main problem with it is that youcompleteme tries to be very generic in completions, therefore there is no real way of knowing what kind of methods you get back from your completion backend. you could hack it to do some regex parsing on method names, but i'd really suggest that if objective-c is your main target go for clangcomplete+ultisnips.
Re: YouCompleteMe - A code-completion engine for Vim
#15I found that other solutions for Vim completion tend tomake Vim slowish when they index a lot of data, for medium~large codebases. How does your pluggin scale?
Re: YouCompleteMe - A code-completion engine for Vim
#16I haven't had the opportunity to try it on any gigantic projects, but I have found configuration files for YCM in the Chromium source tree which suggests that it scales nicely (assuming it's usable on the Chromium tree).
Re: YouCompleteMe - A code-completion engine for Vim
#17How the hell is that a "super-quick installation" for Mac OS? Can anyone figure out an actually quick way to install it with Pathogen? PS: the plugin looks great - I'm just bitching about the installation docs because I'm in the middle of 10 different things at the moment and don't have the time to engage in a potential yak shaving expedition...
Regardless, amazing vim plugin!
Re: YouCompleteMe - A code-completion engine for Vim
#18Re: YouCompleteMe - A code-completion engine for Vim
#19How the hell is that a "super-quick installation" for Mac OS? Can anyone figure out an actually quick way to install it with Pathogen? PS: the plugin looks great - I'm just bitching about the installation docs because I'm in the middle of 10 different things at the moment and don't have the time to engage in a potential yak shaving expedition...
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 impolitely adding "Read the docs!" (Which docs? The GitHub docs, which tell me I should only need to recompile in rare cases? Or the bundle's vim docs, which didn't exist on my system prior to running this command?)
7. Back to terminal, launch ./install.sh --clang-completer in the YCM directory.
8. Go fix breakfast, return. Compilation eventually completes, no errors.
9. Launch vim, which immediately crashes with error: Vim: Caught deadly signal ABRT
10. Give up and delete any trace of YCM.
In a perfect world maybe I would have an extra hour or two to debug this, run through some regressions but right now I don't. Sounds like a nice plugin, maybe I'll try again in the future.