ctags 用法

原文链接: http://www.cnblogs.com/heroking2000/archive/2012/04/20/2459236.html

1、.module .inc .php .install文件按php创建tag

$ctags -R --langmap=php:.php.inc.module.install .

2、gvim 设置tags文件,在命令模式或.vimrc文件输入:

 set tags=/ var/www/html/o2o/branches/branch211/tags:

转载于:https://www.cnblogs.com/heroking2000/archive/2012/04/20/2459236.html

猜你喜欢

转载自blog.csdn.net/weixin_30807779/article/details/94968063
今日推荐