[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] open declaration vs open definition
|
Well, I must agree to this. I'm more interested to the definition than the
declaration when following a control flow of a program (source browsing).
But then also the Ctrl+LeftClick on a function name should go to the
definition too. Maybe there could be a Shift+LeftClick to go to the
declaration?
> --- Ursprüngliche Nachricht ---
> Von: Chris Wiebe <cwiebe@xxxxxxxx>
> An: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
> Betreff: [cdt-dev] open declaration vs open definition
> Datum: Thu, 21 Jul 2005 18:21:10 -0700
>
> 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
>
--
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl