关于VIM的补全类

Vim、Emacs配置和使用
回复
liuyiye
帖子: 2
注册时间: 2010-11-17 11:24
送出感谢: 0
接收感谢: 0

关于VIM的补全类

#1

帖子 liuyiye » 2010-11-17 11:29

我安装了OmniCppComplete插件
现在有一个问题就是我设置的tags是正确的却不能补全类
因为同一个tags里面有一个结构体 而结构体可以补全
很是奇怪有没有人帮忙解答下
以下是tags的内容 明明存在animal这个类的但是就是不补全
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
!_TAG_PROGRAM_NAME Exuberant Ctags //
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
!_TAG_PROGRAM_VERSION 5.7 //
_MAIN_H_ main.h 2;" d
animal main.cpp /^class animal$/;" c file:
animal::display main.cpp /^ void display();$/;" p class:animal file: access:public signature:()
animal::horse main.cpp /^ int horse;$/;" m class:animal file: access:public
animal::x main.cpp /^ int x;$/;" m class:animal file: access:public
animal::y main.cpp /^ int y;$/;" m class:animal file: access:public
display main.cpp /^ void display();$/;" p class:animal file: access:public signature:()
horse main.cpp /^ int horse;$/;" m class:animal file: access:public
horse main.h /^struct horse$/;" s
horse::x main.h /^ int x;$/;" m struct:horse access:public
horse::y main.h /^ int y;$/;" m struct:horse access:public
main main.cpp /^int main(void)$/;" f signature:(void)
x main.cpp /^ int x;$/;" m class:animal file: access:public
x main.h /^ int x;$/;" m struct:horse access:public
y main.cpp /^ int y;$/;" m class:animal file: access:public
y main.h /^ int y;$/;" m struct:horse access:public
回复

回到 “Vim和Emacs”