之前装了ctags 玩了大半年都不知道 为什么调不到定义 现在终于研究出来了 蛋疼
以前用的命令是ctags ./* -R
现在要用
ctags -R --fields=+aimS --languages=php
参数说明
-a
Access (or export) of class members; Adds the access field like: access: public
-i
Inheritance information; Adds the inherits field like: inherits:RuntimeException,ExceptionInterface
-m
Implementation information; Adds the implementation field like: implementation:abstract
-S
Signature of routine; Adds the signature field like: signature:($a, $b)
vim :
g] 是跳过去
ctrl+o 是跳回来
ctrl+i 是ctrl + o反动作
crtl+t 也是跳回去
很赞吧!!