Re: Iterative visiting of all source files

Eric Ludlam <[email protected]> Tue, 23 Dec 2014 11:54:58 -0500
Newsgroups gmane.emacs.semantic
Message-ID <[email protected]>
On 12/15/2014 06:22 AM, RJD wrote:

>
> I am very interested in this. What I do like with MSVS intellisense is that
> is seems to parse all headers when you load up a new project. I am happy to
> wait there while this happens so I can browse tags easier.

Hi,

For a given file, the command

M-x semantic-debug-idle-function RET

will parse and setup databases for everything needed for a given file. 
There is a similar command:

M-x semantic-debug-idle-work-function RET

that will also handle all files in a directory of the same mode as the 
current file.

> 1. With GNU TAGS - does this mean semantic does not need to parse? Does it
> simply refer to the TAGS file produced by the gtags program

It will use GNU tags to find symbols in files not yet parsed by 
semantic, but when Emacs visits the symbol, the regular semantic parser 
takes over to get the extra details.

> 2. And how do you tell semantic to use the tags file instead?

This is how to configure things to use GNU Global:

http://www.randomsample.de/cedetdocs/cedet/GNU-Global.html

It doesn't disable the other tagging system, it just augments it for 
basic symbol search.

Eric

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net