概述:OmniCppComplete适用于vim7.0及以上,OmniCppComplete利用catags产生的数据库实现C/C++的代码自动补全功能。
一、OmniCppComplete 特点:
- 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.??