使用ctags配合xref-find-references
在非git版本控制
的项目中每次都需要选择project-dir
,怎么样自动选择当前projectile的项目
或者TAGS
所在的根目录,哪位大神能帮忙看看
你都用了哪些package呢?记得ac-php、company-php是可以动态生成tag的
依赖projectile的么?可以在根目录touch .projectile
我使用的ctags-update
xref-find并不依赖projectile,有了.projectile,xref-find也不能识别projectile项目的根目录
试试变量 project-find-functions
?
xref-prompt-for-identifier
里添加xref-find-references
了吗?不添加行为很愚蠢 #29619 - Fwd: [xref.el] Add `xref-find-references` to `xref-prompt-for-identifier` - GNU bug report logs