IDE for Linux with good code completion

Currently I write most of the code in Vim, mainly because I can write
my code remotely using ssh, the problem is that I sometimes find myself
lost in the code, and for this I need good code completion.

I have tried Kdevelop and Anjuta (code completion didn't work in both
of them at all). Currently trying Eclipse which works fine, but fails
in advanced code completion (shows private members and doesn't
understand inteligent pointers [or anything more complex than direct

So, my question, is there any IDE (an editor would be enough), which
has good code completion? Even better if it integrates decent debuging
and subversion support. Can be even comercial, if it's worth the money.

Thx for any hints