Vim plugin that use clang for completing C/C++ code.
Questions tagged [clang-complete]
58 questions
0
votes
0 answers
Vim display error after installing clang
I wanna use clang-complete in vim.
But vim diaplay error after installing clang, image below
I am sure the file is normal. I can read it normally before I install clang.
What should I do?

Asuka
- 301
- 4
- 16
0
votes
0 answers
Trouble with clang_complete, no error and loaded but does not work
I am trying to use clang_complete for vim on Arch Linux. I built vim and vimball plugin from source. I see +python/dyn and +python3/dyn in vim --version output. I use the following .vimrc file :
syntax on
filetype plugin on
let…

KaBa
- 285
- 3
- 16
0
votes
1 answer
Run a shortcut event on key press in vim
I am using clang_complete with vim which supports autocomplete for variables using short cut . But I want autocomplete to happen with every keypress i.e. whenever I press a character, autocomplete list shown be shown.
I found that…

Shashwat Kumar
- 5,159
- 2
- 30
- 66
0
votes
1 answer
Make clang-complete in vim to autocomplete after any input
How to make clang_complete to automaticaly complete not only after ., -> and ::, but after first three characters of the word for exampe?

shved
- 386
- 1
- 12
0
votes
1 answer
Clang_complete not worrking
unfortunately I can't manage to make clang_complete work and I could need your help.
I've already compiled vim 7.4 with python support. Here is the output of vim --version | grep python:
+cryptv +linebreak +python/dyn …

user1829358
- 1,041
- 2
- 9
- 19
0
votes
0 answers
clang_complete complete undeduced templates
Is there a way to make clang_complete complete templates like this one:
template
class X {
int member_;
};
template
void foo() {
X x;
x. //<-- autocomplete member_ (doesn’t work)
}
This doesn’t work because the…

bolov
- 72,283
- 15
- 145
- 224
0
votes
1 answer
Use an alternate .clang_complete file
The clang_complete plugin by default reads compiler flags from files in vim's path variable. This is not necessarily desirable, since path is used for other purposes, and it means potentially having to tinker with the variable, track the location…

CodeClown42
- 11,194
- 1
- 32
- 67
0
votes
1 answer
E492 during clang_complete installation for vim
I tried to install clang_complete for vim.
I have downloaded source and when I try to make it, it gives me this:
E492: Not an editor command %MkVimball! clang_complete.vmb
any idea?

Mehraban
- 3,164
- 4
- 37
- 60
0
votes
0 answers
Clang complete vim how to show documentation?
I just installed clang complete plugin for vi. It autocompletes well, and is also showing all function with their parameters. But it doesn't show their documentation (c++). I want to see the functions + their documentation in the scratch preview…

Jignesh
- 555
- 1
- 8
- 18
0
votes
1 answer
Vim clang_complete auto popup
After using XCode for a while (couple years), I'm attempting to move to MacVim for development/code editing. Mostly, I'm doing this because I'm starting up some non-obj-c projects and I don't want to keep switching between code editors.
I've…

Aaron Hayman
- 8,492
- 2
- 36
- 63
0
votes
1 answer
Vim: autocomplete local variables/functions with clang_complete
I am new to vim and I am trying to set it up for use with C/C++. After reading about possible plugins for autocompletion I decided to try clang_complete.
I installed it and made sure it is working by using the included example file.
Completion after…

worblehat
- 3
- 3
0
votes
4 answers
how to accept a clang_complete match?
I was trying out the vim clang_complete plugin. Once I type the C-x C-u on the following code fragment, positioned after some below
inline void someSizeChecks()
{
// ...
}
void foo()
{
some
}
I get a selection menu like:
Gui challenged…

Peeter Joot
- 7,848
- 7
- 48
- 82
-2
votes
1 answer
Are arrow keys the way to scroll through Clang-completions in Vim?
Having read lots of great advice from here and across the www, I'm happily trying to set up my first Vim environment under Linux (for C++). I've added the C.Vim plugin and also successfully added Clang_complete - which both seem to work. However,…

Stuart Reeks
- 3
- 1