4 ms·
- Complete namespaces, classes, structs and union members. - Complete inherited members for classes and structs (single and multiple inheritance).
by burgerbrain 15y ago
- Complete namespaces, classes, structs and union members.
- Complete inherited members for classes and structs (single and multiple inheritance).
- Complete attribute members eg: myObject->_child->_child etc...
- Complete type returned by a function eg: myObject->get()->_child.
- Complete the "this" pointer.
- Complete a typedef.
- Complete the current scope (global and class scope).
- Complete an object after a cast (C and C++ cast).
- Complete anonymous types (eg: struct {int a; int b;}g_Var; g_Var.???). It also works for a typedef of an anonymous type.
http://www.vim.org/scripts/script.php?script_id=1520 http://www.vim.org/scripts/script.php?script_id=1520
(disclaimer: I don't use it, I turn off completion everywhere I go.)
- uxp 15y agoClang_Complete is another completion plugin, though it is not compatible with OmniCppComplete. http://www.vim.org/scripts/script.php?script_id=3302 http://www.vim.org/scripts/script.php?script_id=3302
- CJefferson 15y agoThanks for the suggestion, but it uses ctags, which simply chokes on boost.
- burgerbrain 15y agoTry uxp's suggestion then, which doesn't use ctags.
- calloc 15y agoI use clang_complete on Mac OS X and it is a dream. It works without issues on the Boost libraries and overall is very fast and efficient.