概述: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 aft

本文介绍了如何在Vim中利用OmniCppComplete插件实现C++代码的自动补全功能。该插件支持匿名类型补全,并提供了详细的安装步骤,包括下载插件、创建ctags数据库目录、生成stdc++的catags数据库以及配置vimrc文件。
最低0.47元/天 解锁文章

4469

被折叠的 条评论
为什么被折叠?



