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.
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)!
> On Tue, Jun 2, 2009 at 4:41 PM, <adhanakshirur@...> 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 <eric@...> wrote:
> >> From: Eric M. Ludlam <eric@...>
> >> 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" <adhanakshirur@...>
> >> Cc: "semantic cedet" <cedet-semantic@...>
> >> 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
> > cedet-semantic@...
> > https://lists.sourceforge.net/lists/listinfo/cedet-semantic