ctags 用法

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:

 

posted on 2012-04-20 14:04  Hero King  阅读(328)  评论(0编辑  收藏  举报

导航