On 07/03/2012 05:01 AM, Arne Schmitz wrote:
> When running semantic-symref in large projects, I have to wait several
> minutes for the grep commands to complete. I am already using GNU global
> and xgtags.el. Can I tweak Semantic to only use that as well, instead of
Yes. It is supposed to be automatic though.
The actual code is in semantic/symref.el:
'( ( (lambda (rootdir) (file-exists-p (expand-file-name "GPATH"
( (lambda (rootdir) (file-exists-p (expand-file-name "ID" rootdir))) .
( (lambda (rootdir) (file-exists-p (expand-file-name "cscope.out"
so it looks like if you have a GPATH file in the project root directory,
then symref should find and use it.
That implies that EDE is able to find your project root. If EDE doesn't
work with your project, then it uses the current directory.