How can I tell if CEDET is using GNU Global?

这一生的挚爱 提交于 2019-12-04 11:57:00

This is a multi-step process.

First, make sure you've setup Global in the ways you want, such as via ede's locate feature, and through Symref.

Next, while visiting a file in a project you care about, use:

M-x cedet-gnu-global-show-root RET

to see if it can find a Global index file in that project.

Next, to see if symref found it, you need to eval this:

M-: (semantic-symref-detect-symref-tool)

and it will give you a symbol representing the tool it has chosen to use. It will say 'grep if it failed to use Global.

If you were in the middle of configuring things, you might need to reset things for you buffer. An easy way is to kill the buffer, and find it again, or:

M-x (setq semantic-symref-tool 'detect) RET

to force a detection again.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!