Re: [cedet-semantic] Finding all references on Windows
Brought to you by:
zappo
|
From: Eric M. L. <er...@si...> - 2014-09-16 00:54:51
|
On 09/15/2014 07:21 AM, Nadales Agut, Damian wrote: > Hello, > > Sadly I need to use Emacs under Windows. I would like to use semantics for finding the references to symbols. However, the command ``semantic-symref`` just reports ``No references found``. I have grep and find installed in my system, but I suspect some incompatibility with these tools. > > Any ideas on how I can figure out what is wrong? > > Thank you in advance, > Damian. Hi Damian, For the symref tool to work, you will also need to have an EDE project setup that identifies the root of your project. Only then will it be able to start in the right place and have grep-find find all your references. Of course, even in your proposed situation, it should find the symbol you are looking for if your cursor was on it to begin with. You can also use 'semantic-symref-data-debug-last-result' to get a dump of what is found. Chances are it will be empty, but it's worth a shot. It might also have auto-detected some other tool (like an IDUtils or GNU Global) tags file at your project root, and tried to use that. You can force it by setting `semantic-symref-tool' to 'grep directly with a (setq-default ...) in your .emacs. Or delete the offending GPATH, ID, or cscope.out file. Good Luck Eric |