Re: Why symboldef window shows the declarationoffunction when cursor is placed on a function invocation?

"Eric M. Ludlam" <[email protected]> Fri, 26 Jun 2009 18:26:24 -0400
Newsgroups gmane.emacs.semantic,gmane.emacs.code-browser
Message-ID <[email protected]>
When a symbol is searched for with Semanticdb, the symbol in the header
is the one that will be found.  If you use
semantic-analyze-tag-references instead, it will cast a wider net, and
may find the actual location of the implementation.  (You can see
semantic-ia-fast-jump which will use this.)

Lastly, if you use GNU Global or CScope integration, that too will
improve your results for the above tag-references query.

The default is to use the fastest method possible for finding the
declaration of a tag.

Eric

On Thu, 2009-06-25 at 12:27 +0200, [email protected] wrote:
> Well, in one respect the cedet-list is the right one. ECB uses the semantic-analyzer/semanticdb to find symbols etc...
> Is there a way to find not the declaration but the definition of a method? 
> 
> -----Ursprüngliche Nachricht-----
> Von: Berndl, Klaus 
> Gesendet: Donnerstag, 25. Juni 2009 12:24
> An: [email protected]; [email protected]
> Cc: [email protected]
> Betreff: Re: [cedet-semantic] Why symboldef window shows the declarationoffunction when cursor is placed on a function invocation?
> 
> I suppose you are talking about the symboldef window of ECB, right? Then you are writing to the wrong list ;-)
> 
> Please send a full problem-report with ecb-submit-problem-report to [email protected]
> 
> Ciao,
> Klaus
> 
> -----Ursprüngliche Nachricht-----
> Von: Anand Dhanakshirur [mailto:[email protected]]
> Gesendet: Donnerstag, 25. Juni 2009 12:12
> An: semantic cedet
> Betreff: [cedet-semantic] Why symboldef window shows the declaration offunction when cursor is placed on a function invocation?
> 
> 
> Hi,
>  when cursor is placed on a function invocation (in a .cpp file), The symbol definition window highlights the declaration of that function in a .h file.
> Ideally, It should display the definition of that function in a .cpp file.
> 
> Is there any way to do it?
> 
> The highlighting in a symboldef window foe struct and enums are fine.
> Anand
> 
> 
>       
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> cedet-semantic mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cedet-semantic
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> cedet-semantic mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cedet-semantic
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> cedet-semantic mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cedet-semantic

------------------------------------------------------------------------------
_______________________________________________
cedet-semantic mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cedet-semantic