|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: [cedet-semantic] Why symboldef window shows the declarationoffunction when cursor is placed on a function invocation?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: adhanakshirur@...; cedet-semantic@... Cc: ecb-list@... 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 ecb-list@... Ciao, Klaus -----Ursprüngliche Nachricht----- Von: Anand Dhanakshirur [mailto:adhanakshirur@...] 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 cedet-semantic@... https://lists.sourceforge.net/lists/listinfo/cedet-semantic ------------------------------------------------------------------------------ _______________________________________________ cedet-semantic mailing list cedet-semantic@... https://lists.sourceforge.net/lists/listinfo/cedet-semantic ------------------------------------------------------------------------------ _______________________________________________ Ecb-list mailing list Ecb-list@... https://lists.sourceforge.net/lists/listinfo/ecb-list |
|
|
Re: [cedet-semantic] Why symboldef window shows the declarationoffunction when cursor is placed on a function invocation?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, klaus.berndl@... 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: adhanakshirur@...; cedet-semantic@... > Cc: ecb-list@... > 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 ecb-list@... > > Ciao, > Klaus > > -----Ursprüngliche Nachricht----- > Von: Anand Dhanakshirur [mailto:adhanakshirur@...] > 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 > cedet-semantic@... > https://lists.sourceforge.net/lists/listinfo/cedet-semantic > > ------------------------------------------------------------------------------ > _______________________________________________ > cedet-semantic mailing list > cedet-semantic@... > https://lists.sourceforge.net/lists/listinfo/cedet-semantic > > ------------------------------------------------------------------------------ > _______________________________________________ > cedet-semantic mailing list > cedet-semantic@... > https://lists.sourceforge.net/lists/listinfo/cedet-semantic ------------------------------------------------------------------------------ _______________________________________________ Ecb-list mailing list Ecb-list@... https://lists.sourceforge.net/lists/listinfo/ecb-list |
| Free embeddable forum powered by Nabble | Forum Help |