标签:lang vim python 文件 lan 针对 attribute 内核 name
1. 生成c、c++公共库标签文件ctags -R -I THROW -I attribute_pure -I nonnull -I attribute --file-scope=yes --langmap=c:+.h --languages=c,c++ --links=yes --c-kinds=+p --c++-kinds=+p --fields=+iaS --extra=+q -f ~/.vim/tags/c.tag /usr/include/ --exclude=/usr/include/python2.7/
set tags+=~/.vim/tags/c.tag
ctags file_name1.c filename2.c filename3.h来产生ctags文件或者ctags .c .h
ctags默认使用这个命令,--exclude要排除的文件,--links针对符号链接是否延伸,
ctags -R --links=yes --c-kinds=+p --fields=+iaSz --exclude=samples/ --exclude=tools/
在源码目录下通过命令make tags(也可使用:ctags -R)生成标签文件
cscope -Rbqk
k跳过/usr/include/*
标签:lang vim python 文件 lan 针对 attribute 内核 name
原文地址:http://blog.51cto.com/11325959/2330890