Thread: Re: [cedet-semantic] How to make it to go to the definition of function not the declaration in a he
Brought to you by:
zappo
From: <adh...@ya...> - 2009-06-02 14:41:31
|
Thanks for the reply. I am using Semantic-complete-jump. I found it more correct. Two things i am interested are, 1. How to make Semantic-complete-jump not ask for the confirmation like, Symbol (BSC_FALSE): I want to go to the definition of the symbol(on which cursor is placed) in one key stroke(just like M-. (in plain emacs with etags). 2. how to go back to the point from where i called Semantic-complete-jump. just like M-* (in plain emacs with etags). Thanks for other replies also. --- On Tue, 6/2/09, Eric M. Ludlam <er...@si...> wrote: > From: Eric M. Ludlam <er...@si...> > Subject: Re: [cedet-semantic] How to make it to go to the definition of function not the declaration in a header file? > To: "Anand Dhanakshirur" <adh...@ya...> > Cc: "semantic cedet" <ced...@li...> > Date: Tuesday, June 2, 2009, 4:49 PM > Another function is > `semantic-ia-fast-jump'. It won't ask any > questions, and will also attempt to find the > implementation, not just > the declaration. Semantic-complete-jump is nice in > that you can jump to > things with other names, and you can select between > different hits of > the same name. > > Alternately, after you land on a declaration, you can use > semantic-analyze-proto-impl-toggle to move from the > prototype to the > implementation and back again. (That is what > semantic-ia-fast-jump > uses.) This is not the most robust mechanism until > most of your files > have been parsed into the semantic databases. > > Eric > > On Tue, 2009-06-02 at 02:59 -0700, Anand Dhanakshirur > wrote: > > Hi, > > When i use "semantic-complete-jump" on a function > usage, > > It goes the declaration of that function in a header > file.(Some times). > > How to make it to go to the definition always. > > |
From: Dejan P. <dej...@gm...> - 2009-06-20 11:33:06
|
hi all, In my case semantic-complete-jump prompts for symbol and when it gets it, it complains for not being unique (msg: Not Unique)! D. On Tue, Jun 2, 2009 at 4:41 PM, <adh...@ya...> wrote: > > Thanks for the reply. > I am using Semantic-complete-jump. I found it more correct. > > Two things i am interested are, > > 1. How to make Semantic-complete-jump not ask for the confirmation > like, Symbol (BSC_FALSE): > I want to go to the definition of the symbol(on which cursor is placed) in one key stroke(just like M-. (in plain emacs with etags). > > 2. how to go back to the point from where i called Semantic-complete-jump. > just like M-* (in plain emacs with etags). > > Thanks for other replies also. > > > > > --- On Tue, 6/2/09, Eric M. Ludlam <er...@si...> wrote: > >> From: Eric M. Ludlam <er...@si...> >> Subject: Re: [cedet-semantic] How to make it to go to the definition of function not the declaration in a header file? >> To: "Anand Dhanakshirur" <adh...@ya...> >> Cc: "semantic cedet" <ced...@li...> >> Date: Tuesday, June 2, 2009, 4:49 PM >> Another function is >> `semantic-ia-fast-jump'. It won't ask any >> questions, and will also attempt to find the >> implementation, not just >> the declaration. Semantic-complete-jump is nice in >> that you can jump to >> things with other names, and you can select between >> different hits of >> the same name. >> >> Alternately, after you land on a declaration, you can use >> semantic-analyze-proto-impl-toggle to move from the >> prototype to the >> implementation and back again. (That is what >> semantic-ia-fast-jump >> uses.) This is not the most robust mechanism until >> most of your files >> have been parsed into the semantic databases. >> >> Eric >> >> On Tue, 2009-06-02 at 02:59 -0700, Anand Dhanakshirur >> wrote: >> > Hi, >> > When i use "semantic-complete-jump" on a function >> usage, >> > It goes the declaration of that function in a header >> file.(Some times). >> > How to make it to go to the definition always. >> >> > > > > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > cedet-semantic mailing list > ced...@li... > https://lists.sourceforge.net/lists/listinfo/cedet-semantic > -- MSc. Dejan Pangercic PhD Student/Researcher Computer Science IX Technische Universität München Telephone: +49 (89) 289-17780 WWW: http://www9.cs.tum.edu/people/pangercic/ E-Mail: dej...@in... |
From: Eric M. L. <er...@si...> - 2009-06-22 00:02:50
|
Hi, If you symbol is not unique, (ie, polymorphism, or perhaps an occurrence in multiple headers or sources) then you will need to use the prompt to select which one you want. While the prompt is up, press TAB on your symbol, and it will show you each different matching location. Once one has been shown, then press RET, and it will select it for you. There may be a usability issue here if you want to select on something in the prompt default not in the typing area. I haven't used this feature in a while. Eric On Sat, 2009-06-20 at 13:32 +0200, Dejan Pangercic wrote: > hi all, > > In my case semantic-complete-jump prompts for symbol and when it gets > it, it complains for not being unique (msg: Not Unique)! > > D. > > On Tue, Jun 2, 2009 at 4:41 PM, <adh...@ya...> wrote: > > > > Thanks for the reply. > > I am using Semantic-complete-jump. I found it more correct. > > > > Two things i am interested are, > > > > 1. How to make Semantic-complete-jump not ask for the confirmation > > like, Symbol (BSC_FALSE): > > I want to go to the definition of the symbol(on which cursor is placed) in one key stroke(just like M-. (in plain emacs with etags). > > > > 2. how to go back to the point from where i called Semantic-complete-jump. > > just like M-* (in plain emacs with etags). > > > > Thanks for other replies also. > > > > > > > > > > --- On Tue, 6/2/09, Eric M. Ludlam <er...@si...> wrote: > > > >> From: Eric M. Ludlam <er...@si...> > >> Subject: Re: [cedet-semantic] How to make it to go to the definition of function not the declaration in a header file? > >> To: "Anand Dhanakshirur" <adh...@ya...> > >> Cc: "semantic cedet" <ced...@li...> > >> Date: Tuesday, June 2, 2009, 4:49 PM > >> Another function is > >> `semantic-ia-fast-jump'. It won't ask any > >> questions, and will also attempt to find the > >> implementation, not just > >> the declaration. Semantic-complete-jump is nice in > >> that you can jump to > >> things with other names, and you can select between > >> different hits of > >> the same name. > >> > >> Alternately, after you land on a declaration, you can use > >> semantic-analyze-proto-impl-toggle to move from the > >> prototype to the > >> implementation and back again. (That is what > >> semantic-ia-fast-jump > >> uses.) This is not the most robust mechanism until > >> most of your files > >> have been parsed into the semantic databases. > >> > >> Eric > >> > >> On Tue, 2009-06-02 at 02:59 -0700, Anand Dhanakshirur > >> wrote: > >> > Hi, > >> > When i use "semantic-complete-jump" on a function > >> usage, > >> > It goes the declaration of that function in a header > >> file.(Some times). > >> > How to make it to go to the definition always. > >> > >> > > > > > > > > > > > > ------------------------------------------------------------------------------ > > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > > looking to deploy the next generation of Solaris that includes the latest > > innovations from Sun and the OpenSource community. Download a copy and > > enjoy capabilities such as Networking, Storage and Virtualization. > > Go to: http://p.sf.net/sfu/opensolaris-get > > _______________________________________________ > > cedet-semantic mailing list > > ced...@li... > > https://lists.sourceforge.net/lists/listinfo/cedet-semantic > > > > > |