Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Smarter F3

I highly recommend refreshing HEAD before trying this, though. I forgot to release the read lock on the index, d’oh!

 

Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead, Tools PMC Member


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Doug Schaefer
Sent: Friday, December 08, 2006 9:42 AM
To: CDT General developers list.
Subject: RE: [cdt-dev] Smarter F3

 

Probably the best way to find out is to try it. The objective of F3 is to find the thing that makes the most sense, or gives the most information. That will always depend on your perspective.

 

Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead, Tools PMC Member


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Sergey Prigogin
Sent: Thursday, December 07, 2006 11:27 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Smarter F3

 

I'm confused. Could you please give some examples of cases when new F3 chooses definition over declaration. What does it do for class A and method m?

class A;

class A {
  void m();
};

void A::m() {}

-sergey

On 12/7/06, Doug Schaefer <DSchaefer@xxxxxxx> wrote:

Well, I didn't change F3 into Open Definition, it's still Open Declaration but picks definitions first (which are declarations too BTW).

 

Ctrl+F3 still does Open Definition only and won't open declarations that aren't definitions..

 

At any rate, you are correct Ctrl+F3 is now much less useful. If people want that key for something open-ish we can do that.

 

Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead, Tools PMC Member


From: cdt-dev-bounces@xxxxxxxxxxx [mailto: cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Sergey Prigogin
Sent: Thursday, December 07, 2006 4:58 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Smarter F3

 

If F3 now does Open Definition, what does Ctrl+F3 does?

-sergey

On 12/7/06, Doug Schaefer <DSchaefer@xxxxxxx> wrote:

Hey gang,


I made the F3 key a lot smarter today, and boy am I enjoying the experience. Instead of doing a full parse and only finding declarations, It now does a quick parse and looks things up in the Index so is much faster. Also it picks definitions over declarations which is generally what people want anyway.

 

Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead, Tools PMC Member

 


_______________________________________________
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

 


Back to the top