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
-1
votes
1 answer

how to upgrade develop toolset on CentOS6.3 without the Internet?

Background: My CentOS have no access to the Internet and upgrading OS isn't permitted, but I can upload files to it. I want to use YCM to complete my c++ code. I intended to install YCM on centos6.3 which have a clang2.8, but YCM needs libcalng3.9.…
dingdang
  • 11
  • 5
-1
votes
1 answer

Simple completion for "template" on vim a la sublime ( potentially using YouCompleteMe )?

I didn't understand how to use YouCompleteMe to create nice templates like stuff I used to have on sublime. Two basic examples I would like to achieve: typing "log" being completed to console.log "\$1" typing "fori" being completed to for \$1 in…
kroe
  • 1,116
  • 3
  • 11
  • 23
-1
votes
1 answer

Why YouCompleteMe still show syntax warning when I include the correct C++ library?

When I include the required library, the "#include.." line doesn't show any warning. But when I use the functions in that library, I find the Vim shows that "..use of undeclared function...". It seems that the library is not correctly included. So I…
Walden Lian
  • 95
  • 2
  • 10
-1
votes
1 answer

VIM with youcomplete me

I've been coding for a while and moving from IDE to IDE is a real pain when what I need most is just ctag and code completion. I finally decided to go to vim, well neovim in this case but that's beside the point. I have ctags working and was…
user1610950
  • 1,837
  • 5
  • 33
  • 49
-2
votes
1 answer

youcompleteme can not complete sigaction struct correctly

As you can see above, youcompleteme can not correctly complete sigaction struct which may have the following members(Of course I know that the sa_restorer element is obsolete and should not be used): So, is there anything wrong with my…
cong
  • 1,105
  • 1
  • 12
  • 29
-3
votes
1 answer

How to get autocomplete on YouCompleteMe C code?

Question Edited I mostly code in C and have been using vscode. I recently decided to try out vim and am trying to get code autocompletion to something resembling vscode. Youcompleteme is popular vim plugin. On using it I noticed that the code…
-5
votes
2 answers

YouCompleteMe is not autocompleting functions

YMC has not been working the way I have been expecting it. The only instance it works in is when there is a scope operator (std::) and the dot operators on objects. However, it does not work with functions. I am working with the SDL library and none…
1 2 3
13
14