使用xref-find-references每次都要选择project directory

使用ctags配合xref-find-references非git版本控制的项目中每次都需要选择project-dir,怎么样自动选择当前projectile的项目或者TAGS所在的根目录,哪位大神能帮忙看看 image

你都用了哪些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