[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] open declaration vs open definition
|
So by --1 are you concluding +1 ?
Since key bindings are re-mappable, and we are closing down other items
due to end game strategy, I'd say -1 to this request right now, but look
at changing the default behaviour (to include the "context awareness" after)
this release.
Glad to hear that people are getting a chance to get some working miles on
this now.
Thomas ... who wishes there was a toggle header/source command in 3.0 =;-)
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Doug Schaefer
> Sent: July 22, 2005 12:08 AM
> To: CDT General developers list.
> Subject: Re: [cdt-dev] open declaration vs open definition
>
> --1.
>
> I agree with Chris. When I hit F3, I'd like it to do the same
> as it does in the JDT, open the definition of the thing. Sure
> it is also the declaration, but you have to ask yourself, why
> did you hit F3. It is hardly ever to look at the prototype,
> since you've managed to figure it out enough to put in the
> reference. It is to look at the implementation of the thing
> to figure out what it does.
>
> My pet peeve is when F3 opens up the forward declaration of a class.
> What use is that?
>
> Just my thoughts,
> Doug.
>
> John Camelon wrote:
>
> >
> > -1.
> >
> > I personally would have preferred F3 to toggle between
> > declaration/definition depending on the context so that it
> is easy to
> > switch between declaration and definition with only one digit.
> > That being said, considering the other threads on this list in the
> > past day concerning the evolution of CDT and the importance of a
> > meaningful end game plan, I would not recommend it at this time.
> >
> > --
> >
> > JohnC
> >
> > cdt-dev-bounces@xxxxxxxxxxx wrote on 07/21/2005 09:21:10 PM:
> >
> > > After using these features (which are very nice) for a while I'm
> > > finding the key bindings "feel wrong." I want to look at
> the code
> > > inside a function so out of habit I hit F3. But that takes me to
> > > the prototype not the body. Now I have to go back to where I was
> > > and try again with Ctrl+F3. It seems I'm fighting muscle
> memory all
> > > the way. I would guess that 90% of the time, Open Definition is
> > > want I actually want.
> > >
> > > Anyone else experiencing this? I really think the keys should be
> > > reversed - F3 for Open Definition, Ctrl+F3 for Open Declaration.
> > > And if Open Definition fails, it should fall back to Open
> > > Declaration (e.g. If I don't have source for the
> function, fall back
> > > to the prototype). I realize this represents a slight change in
> > > behaviour from CDT2.1 but I think it makes more sense and
> is more "intuitive."
> > > I also realize it is late in the game for CDT 3.0 but
> seeing as this
> > > is a major version release, now would be the best opportunity to
> > > make this sort of change.
> > >
> > > Just my two cents. Anyone agree? Rebuttals?
> > > -Chris
> > >
> > > _______________________________________________
> > > cdt-dev mailing list
> > > cdt-dev@xxxxxxxxxxx
> > > https://dev.eclipse.org/mailman/listinfo/cdt-dev
> >
> >-------------------------------------------------------------
> ----------
> >-
> >
> >_______________________________________________
> >cdt-dev mailing list
> >cdt-dev@xxxxxxxxxxx
> >https://dev.eclipse.org/mailman/listinfo/cdt-dev
> >
> >
>
>
> --
> Doug Schaefer, Senior Software Developer IBM Rational
> Software, Ottawa Lab Kanata, Ontario, Canada
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>