Questions tagged [omnicppcomplete]
20 questions
6
votes
2 answers
omnicppcomplete not supporting all forms of const
I have omnicppcomplete working fine except once in a while it won't complete some of the variables methods/members. I finally got annoyed enough to dig into why and I believe the reason is that omnicppcomplete does support the syntax "Foo const &…

Neg_EV
- 1,930
- 1
- 15
- 23
5
votes
1 answer
How can I make vim tag jumps as smart as OmniCppComplete?
I generate my tags (Exuberant Ctags 5.9~svn20110310) like this:
ctags --c++-kinds=+p --fields=+iaS --extra=+q -L ctags.files
I have roughly this class structure:
class RenderObject
{
InterpolatedVector offset;
};
class Quad : public…

idbrii
- 10,975
- 5
- 66
- 107
3
votes
2 answers
c++, omnicppcomplete doesn't show methods for string
The problem about ctags and omnicppcomplete in vim. Omni does not show methods of class "string". (I had the same problem with STL library. I solved it by downloading STL and run ctags in this folder then set path the tags file.)
How to solve this…

ashim
- 24,380
- 29
- 72
- 96
3
votes
1 answer
vim omnicppcomplete pattern not found
I installed vim7.3 on my computer (under windows 7) and i want to use an autocomplete plugin.
I searched a lot and found that Omnicppcomplete is the best for that.
So i followed this tutorial: Install OmniCppComplete plugin
My _vimrc config file…

Gergely Fehérvári
- 7,811
- 6
- 47
- 74
3
votes
1 answer
Linux VIM : Omnicppcomplete + supertab use bash color theme
I use vim with omnicppcomplete and supertab for programming. The dropdown window, which shows possible completions is like pink. How can i change the color for example to my personal bash color theme?

Ubuntix
- 324
- 4
- 15
2
votes
1 answer
Vim + omnicppcomplete enum completion
Is it possible to make vim autocomplete from enum?
Completion of structs works fine but enum completion doesn't work
I have this code in C for example :
enum {foo0, foo1, foo2} MyEnum;
MyEnum = (C^X) (C^O)
//or
if (MyEnum == (C^X)(C^O))
I…

Kubanec
- 43
- 2
2
votes
1 answer
VIM omnicppcomplete does not work for function parameters
I'm trying to use omnicppcomplete in VIM and I can't get it to work for variables passed to a function. For example, typing the following
function1( MyObject obj ) {
obj.|
}
results in "--Omni completion (^O^N^P) Pattern not found"
If I define…

user893985
- 31
- 5
2
votes
3 answers
VIM+ctags+omnicppcomplete
I am linux newbie, but I finally decided to try one, I recently installed openSUSE. On windows 7 I used Visual Studio for c/c++ programming. I tried to find any IDE under linux, tried KDevelop but didn't like it, so i decided to try to setup VIM to…

Andrew
- 93
- 2
- 5
2
votes
0 answers
Vim omnicppcomplete pattern was not found
I'm working with Vim 7.4 on Mac OS.
I have installed OmniCppComplete plugin and tried to autocomplete c++.
Of course I have installed the ctags.
Here is my .vimrc:
Now I have a simple project, which has only one class Test and one member function…

Yves
- 11,597
- 17
- 83
- 180
2
votes
2 answers
How to let omnicppcomplete automatically close empty argument lists?
Is it possible to let Vim's omnicppcomplete automatically close argument lists for functions or methods that do not take any arguments?
For example, assuming v is an STL vector, when auto completing v.clear(), we end up with:
v.clear(
It would be…

Ton van den Heuvel
- 10,157
- 6
- 43
- 82
2
votes
1 answer
Problems getting Vim's omnicppcomplete to work right
I'm trying to get OmniCppcomplete to work and I'm running into trouble. I've followed the steps on this page (including the things to add to the .vimrc file). I downloaded and extracted the zip file to ~/.vim, I ran the commands it says, I did…

Alex
- 14,973
- 13
- 59
- 94
2
votes
1 answer
Ctags include extern functions as function prototype?
I'm a newbie using vim as an IDE for C.
I have installed c-vim, omnicppcompletion, ctags and other useful plugins.
However omnicppcompetion is based on the ctags database,
but it seems that ctags can't deal with functions like read/write/socket…

user1477716
- 101
- 1
- 4
1
vote
2 answers
Improving Vim omni completion
How can I add help information or improve omni completion in Vim?
For example, in a CSS file, when you type font, omni completion could show the expected values: font-style font-variant font-weight font-size/line-height font-family

nsbm
- 5,842
- 6
- 30
- 45
1
vote
0 answers
How to create tags for Eigen library and use them with OmniCppComplete?
I'm using the OmniCppComplete vim plugin and the autocompletion doesn't show anything related to the Eigen library (c++ library).
I first created a tags file with ctags recursively starting from the root directory of my Eigen files and linked the…

Stéphane D.
- 11
- 1
1
vote
2 answers
Vim OmniCppComplete on vectors of pointers
I might have done something wrong in the set up but is OmniCppComplete supposed to provide the members/functions of classes when doing this?
vectorofpointers[0]->
At the moment all I get when trying that are things relating to the vector class…

Alex
- 285
- 2
- 8