Questions tagged [plugin-you-complete-me]

YouCompleteMe is an alternative completion engine for Vim.

30 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
683 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 ...
4
votes
0answers
107 views

YouCompleteMe on remote files

I use YouCompleteMe on vim and it works great for me on the files in my local machine. However, when I open files in a remote server, for example, using :e scp://user@remote//path/to/file.cpp None ...
2
votes
0answers
30 views

neovim and youcompleteme

Anyone know how to get rid of the file path segment of the completion list. I'm using youcompleteme with rust.
2
votes
0answers
158 views

YouCompleteMe GoToDefinition for java gives 'RuntimeError: Cannot jump to location' when used on classes from Maven Dependencies

I've been using ycm for Python and Go, trying to configure ycm to work with Java. I've installed java 8, maven, recompiled ycm with --java-completer and done mvn install in a repo that contains a ...
2
votes
0answers
42 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 ...
2
votes
0answers
97 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 ...
2
votes
0answers
837 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 ...
2
votes
0answers
393 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
35 views

“The ycmd server SHUT DOWN” with vim 8.1

I just upgraded my system, in the process vim was itself updated to version 8.1 (from 8.0). Now every time I start vim the following error is displayed: The ycmd server SHUT DOWN (restart with ':...
1
vote
0answers
7 views

Change YouCompleteMe GetType popup position?

The interactive GetType popup is a great feature, but I would love to set it so it spawns beneath the cursor, due to the fact that I sometimes need to read the above lines to know what parameters to ...
1
vote
0answers
83 views

ale can't update the status line for golang

I've succeeded in configuring a vim-c++ environment based on the plugin YCM and the plugin ale. I use YCM to do the auto-completion and ALE to hint me errors and warnings. I added the config as ...
1
vote
1answer
235 views

How to insert a snippet with Ultisnips

I am using the setup I found in this answer: https://stackoverflow.com/a/22253548/2241241 namely " if you use Vundle, load plugins: Bundle 'ervandew/supertab' Bundle 'Valloric/YouCompleteMe' Bundle '...
1
vote
0answers
19 views

Wrap matches shown by You Complete Me

Is it possible to wrap the matches shown by YCM ? My current workaround is to decrease font size till I am able to see it and then increase font size. This is tedious and painful. Is there any other ...
1
vote
0answers
77 views

Characters from YCM completion menu not cleared in Vim

I'm dealing with a cryptic issue in my environment which is annoying and I have no idea where to start debugging. Random characters on that aren't actually in the document appear on screen after YCM ...
1
vote
0answers
238 views

How to get YouCompleteme to work with kernel headers

I am taking an OS class and we have an upcoming assignment involving Kernel modules. I'm reading Wiley OS text to prepare and they have the below code. I keep on getting an error that the header files ...
1
vote
0answers
74 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 ....
1
vote
1answer
1k 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
vote
0answers
818 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 ':...
1
vote
0answers
595 views

vim youcompleteme not working

Currently i'm working on Node.js and I wanted some additional plugins which can help me learning this new technology. I installed tern_for_js and YouCompleteMe from Vundle. I also compiled YCM, but I ...
0
votes
0answers
11 views

YouCompleteMe messages truncated

I'm using YouCompleteMe for syntax checking, and long error messages at the bottom of the screen are truncated. How can I view the full message?
0
votes
0answers
13 views

How to prevent Smart-Tabs plugin from overriding youcompleteme tab completion

I've been looking for a solution to "tabs for indentation, spaces for alignment" and found that the Smart-tabs plugin does exactly what I want. However, when this plugin is active, it breaks the tab ...
0
votes
0answers
34 views

UltiSnips snippets not expanding in vim

I installed YouCompleteMe and UltiSnips together in order to use snippets. Here is my .vimrc: call plug#begin() Plug 'preservim/NERDTree' Plug 'ycm-core/YouCompleteMe' Plug 'SirVer/ultisnips' call ...
0
votes
0answers
44 views

Can YCM use gcc instead of clang for syntax checking

I'm using YCM to help me work with c++11 and it works well. However, it seems that YCM used clang to to the syntax checking. Here is an output of :YcmDebugInfo of one of my project: -- C-family ...
0
votes
0answers
35 views

How to reload vim buffer

I built a cpp environment with YCM, EasyGrep and some other plugins. With YCM, I can jump to declaration/definition, with EasyGrep, I can grep a keyword easily. But I found something weird: Saying ...
0
votes
0answers
92 views

vim 8: C++ syntax highlighting has some minor fault

I'm using vim 8 to code C++11. I've installed the vim plugins: YCM, ALE, vim-code-dark and vim-cpp-enhanced-highlight, however, it seems that there is some error on syntax highlighting. As you see, ...
0
votes
0answers
87 views

YouCompleteMe cannot find module

I am trying to get YCM working on Windows 10. Vim version: 8.1 64-bit GUI Since I'm using the regular gvim installer for Windows I have python support Compiler flags as follows: Compilation: cl -c /...
0
votes
1answer
164 views

YouCompleteMe does not work as expected

My process so far: Brew unlink vim Brew install macvim Brew link macvim Installing YCM with vim-plug. Running ./install.py from YCM folder. mkdir ycm_build cmake -G "Unix Makefiles" . ~/.vim/Plugged/...
0
votes
0answers
59 views

Is it possible to install YouCompleteMe on vim without using neovim?

I tried to download neovim (using Homebrew and pip) and I still did not manage to make YouCompleteMe work, it gave me several error messages regarding the neovim module and python. Is there any ...
0
votes
0answers
69 views

Using mouse to navigate to type using YouCompleteMe plugin

I'm trying to map ctrl+click event to generic navigation for java types using YouCompleteMe plugin. There's plugin command to do that: :YcmCompleter GoTo it navigates to "most sensible" place for type ...
0
votes
0answers
462 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 ...