Questions tagged [youcompleteme]

YouCompleteMe is an autocomplete and diagnostics plugin for Vim.

YouCompleteMe is a fast, as-you-type, fuzzy-search code completion engine for Vim. It includes an identifier-based engine that works with every programming language and many programming language-specific engines.

See https://valloric.github.io/YouCompleteMe/

202 questions
46
votes
9 answers

YCM error. The ycmd server SHUT DOWN (restart wit...the instructions in the documentation

I installed YCM with vim plug, but I may have shut down before process finished. Now when I start vim I get this error "The ycmd server SHUT DOWN (restart wit...the instructions in the documentation." I've googled but can not find workable solution.…
AgentConfusedLlama
  • 599
  • 1
  • 4
  • 11
23
votes
2 answers

Vim plugin youcompleteme error message

Every time I write a new python source code *.py, the following error message comes up: Error detected while processing BufRead Auto commands for"*.py": E518:Unknow option:set E28:No such highlight group name: BadWhitespace How can I fix it? Before…
J.Neue
  • 345
  • 1
  • 2
  • 8
17
votes
6 answers

YouCompleteMe unavailable: requires Vim compiled with Python (3.6.0+) support

i have vim 8.2.850. I am trying to install YouCompleteMe. But get this error, when trying to open vim: "YouCompleteMe unavailable: requires Vim compiled with Python (3.6.0+) support" How can i fix this? i saw other ppl answer for different versions.…
sadibaba2000
  • 209
  • 1
  • 2
  • 4
15
votes
2 answers

How to install plugins in vim using vundle?

I am using Vundle to install YouCompleteMe (YCM). However, I am unable to install it (the installation guide just says running :PluginInstall, but not what to do once the following page opens): I tried hitting buttons like return, etc. but they…
user6490375
  • 424
  • 1
  • 4
  • 13
15
votes
1 answer

How to configure .ycm_extra_conf.py for current project include PATH

I installed YCM and syntastic for VIM, normally they work fine, but I have problem when it detect some errors in my code, it shows that can NOT find some head files(which is my project head file). My directory tree shows below: TOP ├── debug │   ├──…
How Chen
  • 1,340
  • 2
  • 17
  • 37
10
votes
1 answer

how to avoid automatically adding header files after complete in Youcompleteme

I'm using vim on ubuntu 16.04 platform, I found the Youcompleteme plugin always automatically add some unnecessary header file. A simple example like I use libtorch, the torch/torch.h header file contains all headers the package needed, and don't…
Wechar Yu
  • 237
  • 3
  • 12
9
votes
4 answers

Your C++ compiler does NOT fully support C++17

Searching Python 3.6 libraries... Found Python library: /home/luan/anaconda3/envs/za/lib/libpython3.6m.so Found Python headers folder: /home/luan/anaconda3/envs/za/include/python3.6m -- The C compiler identification…
Luan Pham
  • 569
  • 1
  • 7
  • 13
9
votes
2 answers

Vim : youCompleteme plugin opens up a split window with function definition

I just downloaded and stated using the YCM plugin for vim. However I noticed that whenever the auto-complete pops up giving completion suggestions a split window also opens up in my current window. Any suggestions on how I can configure YCM to not…
James Franco
  • 4,516
  • 10
  • 38
  • 80
8
votes
2 answers

VSCode how to automatically insert Intellisense suggestions without having to press Enter?

Default VS Code Intellisense behaviour User is presented with a menu of suggestions User then has to press the Up or Down arrow keys to navigate through the menu Finally user has to confirm with Enter to insert the suggestion and close the…
8
votes
2 answers

How to use bear with make to auto-create the json compilation database?

I'm using vim with YouCompleteMe (YCM) plugin for C programming. YCM needs a json file to show code completion suggestions or a manually crafted .ycm_extra_conf.py file. Build systems like cmake and ninja provide a switch to generate the json file…
Zeta.Investigator
  • 911
  • 2
  • 14
  • 31
8
votes
0 answers

YouCompleteMe Doesn't Find System Headers with compile_commands.json

On the YouCompleteMe Documentation, there are two options for setting up support for C/C++ semantic support. The first is using a compilation database with CMake (e.g. the file compile_commands.json) and the second is using a .ycm_extra_conf.py.…
user985030
  • 1,557
  • 1
  • 16
  • 32
6
votes
4 answers

vim - Youcomplete me unable to find an appropriate Python library

I have followed the instructions from here https://github.com/Valloric/YouCompleteMe and have installed both: Cmake sudo apt-get install build-essential cmake and Python Headers sudo apt-get install python-dev python3-dev Then I cd…
Pani
  • 1,317
  • 1
  • 14
  • 20
6
votes
2 answers

Vim youcompleteme not working in Debian Jessie

According to this article code completion should work for any language with youcompleteme plugin. I set it up as follows in Debian Jessie: installed vim from repository installed youcompleteme from repository issued 'vam install youcompleteme' in…
user4918296
5
votes
1 answer

Compatible JS checker for Vim (Syntastic | YouCompleteMe)?

I was using Syntastic till install YouCompleteMe in terminal vim. So, the thing is that YouCompleteMe doesn't let Syntastic check for errors, but I need both plugins. YouCompleteMe has some error checkers, but I didn't find a way to make it work to…
Stevens Garcia
  • 147
  • 2
  • 10
4
votes
2 answers

Jedi not finding all usages in project

I am using jedi via YCM in vim and an seeing some weird behavior in my project, regarding using the usages endpoint on the jediHttp server. Basically it only finds a small fraction of the usages in my project of a class or function. It does find…
dave
  • 897
  • 1
  • 7
  • 20
1
2 3
13 14