Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plugin-you-complete-me]

YouCompleteMe is an alternative completion engine for Vim.

1
vote
0answers
18 views

YCM is not working with .ycm_extra_conf nor compile_comands.json on Windows

I have problems using YCM plugged for C-family languages. Here are what I have done: project layout -- build -- src -- source file dir0 -- include main.cpp -- source file dir1 ...
0
votes
1answer
65 views

Getting Python support for gVim 8.1 (Windows 10)

As an extension (follow-up question) of the answer here: If you type :version, you should see +python/dyn and +python3/dyn. On Windows, this means that Vim is compiled to dynamically load the ...
0
votes
1answer
45 views

configure VIM with Python support for Debian 9.4 VM Instance

I'm trying to configure VIM with Python support in order to use the You Complete Me pluggin. This question has been asked before. Unfortunately none of the answers have worked for me. Any suggestions ...
1
vote
1answer
67 views

Understanding YouCompleteMe's 'Configuring through Vim Options' Mechanics

There is a bit in YouCompleteMe that I do not understanding. It is the following bit from the documentation: Configuring through Vim Options --- EDIT --- So to clarify the question: How different is ...
-1
votes
1answer
148 views

E464: Ambiguous use of user-defined command: Plug 'rdnetto/YCM-Generator' , { 'branch': 'stable'}

I have the following vimrc file : syntax on set nocompatible " be iMproved, required filetype off " required if has("autocmd") au BufReadPost * if line("'\"") > 1 &...
1
vote
0answers
37 views

How to set up vim tags for JavaScript using vim-easytags

I use YouComplete plugin to do language completion but I can't seem to get tags to work for my own files/functions. I use xolox/vim-misc and xolox/vim-easytags and installed Exhuberant ctags. my ....
2
votes
0answers
27 views

How to make YouCompleteMe work with cgo

In C, YouCompleteMe could autocomplte the function if I include the header file in code: I want it work like C, when I write Go code and include the C header file in cgo: So, how should I config ...
1
vote
0answers
71 views

Temporarily Disable/Reenable YouCompleteMe Plugin

Is there a way to temporarily disable/reenable the YouCompleteMe Plugin for vim? Syntastic has a nice way of doing so with the SyntasticToggleMode command (useful for when I know I'm writing code that ...
1
vote
1answer
881 views

Neovim- YouCompleteMe Python completion not working

I recently did a fresh install of Neovim and I'm trying to get YouCompleteMe to work. I installed the plugin with vim-plug with no errors, and followed the instructions on the YCM github page step by ...
2
votes
3answers
142 views

Auto-complete popup menu: make Enter trigger newline if no item was selected

I like using the <CR> key to confirm my selection in the popup menu. However I don't like the <CR> key doing absolutely nothing when no item was selected in the menu -- in this case, it ...
0
votes
1answer
821 views

How to add Plugin in .vimrc file? [duplicate]

I am a new user of vim and want to add a plugin SuperTab for autocompletion. I searched for the plugin from vimawesome and it says Place this in your .vimrc: Plugin 'ervandew/supertab' I've created ...
3
votes
1answer
83 views

Why python autocompletion does not work if path to python binary is taken from variable?

I use YouCompleteMe for python3 code completion, and when I have let g:ycm_python_binary_path = '/usr/bin/python3' in my ~/.vimrc it works great. However, if I change it to let python3path = system(...
0
votes
1answer
70 views

Unable to link ycm_core.dll when compiling YCM

i am trying to compile the YouCompleteMe (YCM) plugin on cygwin on windows 10, and every time the compiler fails when linking the ycm_core.dll shared library. I will paste my output in this post, ...
1
vote
1answer
621 views

Vim Youcompleteme

I'm using vim for only a year. So, I'm a noob. I need help regarding setting up youcompleteme plugin for vim 8.0 with c/c++ semantic and java autocomplete support. I tried 2-3 times with no luck. No ...
0
votes
1answer
136 views

Vim crashes when using autocomplete

Some of the times I use YouCompleteMe, Vim 'half-crashes': I cannot continue coding in the current tab, but switching tab and coming back solves the issue. The autocompletion works about 80% of the ...
0
votes
1answer
106 views

how to link YCM through ruby shims that rbenv provide

We often run with multiple ruby versions and often I have to recompile YCM when I switch as sometimes I get errors like segfaults or can't find ruby. I was wondering, how do I get YCM to compile by ...
1
vote
0answers
550 views

Make YouCompleteMe open definition in vertical split even if buffer is not saved

There is something I cannot do with YouCompleteMe that I could do when just using tags to navigate to a definition or declaration. The desired behaviour is (taking into account that , is my leader ...
-1
votes
1answer
689 views

Is there a way to install youcompleteme plugin using vim 8.0 default plugin manager?

I read that vim 8 provides it default plugin manager. I upgraded my vim to vim 8.0 and am trying to install the plugin using the method provided in the documentation. youcompleteme plugin github repo ...
3
votes
0answers
68 views

No omnicompletion in Vim for python

So I got YouCompleteMe working for python autocompletion. Whenever I use a . operator such as: import sys sys. It shows the correct suggestions. Note that I didn't have to hit CtrlSpace. But when I ...
3
votes
1answer
110 views

Sharing gutter space between line numbers and YCM markers

Is there a way, if the 'number' option is enabled to show line numbers, to make YouCompleteMe show errors and warnings by changing the line number colours instead of adding extra width to the gutter ...
1
vote
1answer
834 views

Alternative mapping for <Tab> key via YouCompleteMe

I have tried many of the available online instructions on remapping my <Tab> key in my vimrc file but none of them have any effect. If I run :map! <Tab> ᐅ directly from command entry it'...
1
vote
1answer
109 views

How to avoid dependency conflics when installing vim from source?

I run Ubuntu 14.04 and want to use YouCompleteMe with vim for python and c++ code completion. YouCompleteMe requires vim 7.4.143+, which is higher than what I get with apt-get, so I follow this ...
0
votes
1answer
462 views

Is there a way to force vim youcompleteme plugin to do semantic analysis again?

Is there some shortcut to force ycm to re-run semantic analysis on the code. Eg. I get some error, I correct it and I want to check, but ycm on my machine refreshes only after about 5 secs. One way is ...
1
vote
2answers
1k views

Youcompleteme on Mac OS X

I'm trying to use the YouCompleteMe auto completion plugin. I have installed MacVim version 7.4. I followed the instructions on the linked page for Mac OS X by making the symlink: ln -s /usr/local/...
1
vote
0answers
610 views

YouCompleteMe with cygwin

I installed YouCompleteMe (--clang-completer), but cannot use it. On start I see a message The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). Unexpected exit code -11. Use the ':...
0
votes
2answers
449 views

How to get Youcompleteme to work with Vimscript?

I've switched from NeoComplete to YouCompleteMe because it has much better intellisense, though I had NeoComplete working much better with Omnicompletion. NeoComplete was able to automatically ...
3
votes
1answer
695 views

Vim 8.0 breaks YCM on Windows 10

I was using Vim 7.4 with YCM quite successfully (thank you for YCM!) and just today noticed that Vim 8.0 was out. I downloaded, installed, started and now it complains that "YouCompleteMe unavailable: ...
0
votes
1answer
1k views

<C-space> does nothing in YouCompleteMe

I'm on my 4th clean install of YouCompleteMe. I am trying to get to work with a Python file after a . (such as foo....Then I hit <C-space> and would hope to see a list of options to complete ...
3
votes
1answer
284 views

Vim and YouCompleteMe troubles (PROTOCOL_TLS)

I wanted to install YouCompleteMe plugin for vim - however failed miserably at every step of the way. The problem was I had to compile everything by hand (remote machine - no root): started with vim ...
0
votes
1answer
380 views

youcompleteme key error when using vim

For a few days now I always getting the following error when pressing any key in vim: Error detected while processing "function <SNR>53_OnCursorMovedNormalMode[5]..<SNR>...
-1
votes
2answers
555 views

bypassing TAB auto-complete

Sometimes I need to press TAB, but instead of getting actual the tab key, a suggestion pops up and TAB cycles through the suggestions. How can I insert TAB without invoking the auto-completion ? The ...
0
votes
1answer
375 views

Vim problem installing python 3.5 from source

I have installed python 3.5 from the official source, and everything was working. I decided to try vim as a sort of command line IDE. Most plugins worked with vim, but when I tried YouCompleteMe for ...
1
vote
1answer
499 views

How can I show the command line YouCompleteMe is using to compile my file?

I believe I am experiencing some weirdness in how YouCompleteMe is compiling my files to do its syntax checking. I suspect settings from my .ycm_extra_conf.py are not being applied the way I think ...
0
votes
2answers
451 views

Why my dot key doesn't work properly in insert mode?

I have installed plugins YouCompleteMe and python-mode so as to use the auto-completion when editing a python file. But when I open an .py file and type . in insert mode, the cursor does not move ...
3
votes
1answer
259 views

How can I keep the gutter width constant when using YouCompleteMe?

YouCompleteMe puts symbols in the "gutter" (left of the editor) for errors: The problem is that the gutter shifts the whole editor over, and it is only present when there is at least one error. ...
7
votes
1answer
1k views

Python imports autocompletion

I'm trying to configure vim for python development. Right now I'm working on code autocompletion feature. I'm using YouCompleteMe plugin and it seems to be working great but only when I've already ...
5
votes
2answers
102 views

Make column for signs permanent in gVim

I just started using ycm with clang-completer, which apparently can also do syntax checking. It instantly reminded me why I avoided syntax checking in gVim: As soon as an error is found, the signs ...
1
vote
1answer
418 views

YouCompleteMe C++ semantic completion does not work for . operator

For the majority of Semantic triggers in C++ YCM works fine, but I've been unable to make it work for the . operator on a type. (For example, for a vector type I'd like to have the list of its ...
2
votes
1answer
474 views

Conflict between python used by vim and by YouCompleteMe

YCM does not work for the reason given above. When I type :python import sys; print sys.version I obtain: 2.7.9 (default, Dec 13 2014, 15:13:49) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)] ...
2
votes
0answers
717 views

Code Completion for Module based JavaScript files in Vim

I've been trying to get my Vim setup similar to other IDE's (pycharm, webstorm) and I'm hoping to get the functionality of having code completion for injected objects. I have YouCompleteMe and ...
3
votes
1answer
3k views

How to disable YouCompleteMe's error checking?

I have recently installed YouCompleteMe and can't figure out how to disable its error checking feature. I am developing in C++ and wanted to use Neomake as my checker.
6
votes
0answers
506 views

Can I give YouCompleteMe a static list of completions?

I am using the Julia programming language, and as of right now, there are no good syntax-completer for VIM. I am working on one, but haven't fully got my head around how to hook into ycmd. Til I ...
6
votes
2answers
32k views

How to install YouCompleteMe with Clang completer offline?

I have installed YouCompleteMe with Clang completer in OS X 10.10.4, and in my new OS X 10.11.4 I want to reinstall it. The previous installation process downloaded about 140MB at very low speed. I ...
7
votes
1answer
576 views

What does an `autocmd User` do?

I switched to vim-plug recently. In the README, there's this snippet for using YouCompleteMe with vim-plug: " Code to execute when the plugin is loaded on demand Plug 'Valloric/YouCompleteMe', { 'for'...
3
votes
1answer
672 views

How to make YCM load <GL/glew.h> by default?

I am currently learning OpenGL and C++ and I would like to have gl* completion ready on my C++ projects. YCM is not scanning the <GL/glew.h> header when I include it - isn't it supposed to do ...
4
votes
1answer
4k views

How to resolve “requires Vim compiled with Python 2.x support” when launching Vim?

I have Vim 7.4 installed on Windows 10 as part of a Mingw64 installation. I installed the YouCompleteMe plugin on it through Vundle, then ran the install.py, which completed successfully. Now, every ...
5
votes
1answer
5k views

How do I complete Python3 with YouCompleteMe?

I'm using YouCompleteMe to do omni complete. Most of these are fine. But when I want to complete Python3, there is something wrong. It only can complete python2. For example, import urllib # ...
3
votes
0answers
63 views

Can I use Ag in combination with YouCompleteMe for tag autocompletion? [closed]

I have setup vim to use Ag for grepping and for use in the CtrlP plugin. For tag autocompletion, I am using YouCompleteMe. To get autocompletion suggestions for functions throughout the whole project,...
2
votes
0answers
348 views

gvim on windows - compiled ycm plugin now crashing on start

I installed the YouCompleteMe(YCM) plugin and compiled it using the provided instructions, one after the other for all options excluding rust. Below is a reproduction of the commands I ran, the reason ...
1
vote
1answer
2k views

Installation of YouCompleteMe

I have been trying to install YouCompleteMe for a long time. At first, I failed because I need to build Vim having python support. Now I have it solved, but I always fail at building YouCompleteMe ...