Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] AST Build invocation from the CDT editor

In one of our requirement we wanted to intercept the code input stream being sent to editor. We want to manipulate few things there. But now i think, this requirement  is independent of editor, so basic editor should have some facility to extend the key input listeners and intercept the input stream. am i somewhere near to the right?

regards
chinmay


On 9/4/07, Doug Schaefer <DSchaefer@xxxxxxx> wrote:

The AST gets created on demand by the features that need it. The ASTs aren't persisted, i.e., the features throw them away when they are done, nor are they shared between features. They are temporary objects.

 

Why do you ask?

 

Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead, http://cdtdoug.blogspot.com


From: cdt-dev-bounces@xxxxxxxxxxx [mailto: cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of chinmay narayan
Sent: Tuesday, September 04, 2007 11:04 AM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] AST Build invocation from the CDT editor

 

Hi all,
I want to know when does the code , to build the AST, get invoked exactly (in CDT Plugin). Is it in the key press event of CDT editor. i.e. as and when user is keying in the code, it start updating the AST?

regards
chinmay


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top