Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Re: How to implement a on-the-fly compiler?
Re: How to implement a on-the-fly compiler? [message #261048] Tue, 07 July 2009 14:12 Go to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Charles Lu wrote:
> Hi all,
>
> I have a question for JFace Text Framework(org.eclipse.jface.text). I am
> going to have a new programming language with a specific compiler tool.
> Now the source can be compiled while user saves the files, it was done
> by extension point org.eclipse.core.resources.builders. Now I want to
> have the on-the-fly compile capability which is similar to JDT tool. May
> anyone know where I can find more information for this? I'm not sure
> whether the on-the-fly compile/build function is part of JFace Text
> Framework? But because JFace Text Framework provides lots of edit
> capabilities, such as syntax coloring, content assist, folding...etc. I
> assume it might be there.

I think this would receive more attention in the eclipse.tools.jdt
newsgroup, so I'm copying it to there.

Eric
Re: How to implement a on-the-fly compiler? [message #261052 is a reply to message #261048] Wed, 08 July 2009 03:28 Go to previous message
Eclipse UserFriend
Eric Rizzo wrote:
> Charles Lu wrote:
>> Hi all,
>>
>> I have a question for JFace Text Framework(org.eclipse.jface.text). I
>> am going to have a new programming language with a specific compiler
>> tool. Now the source can be compiled while user saves the files, it
>> was done by extension point org.eclipse.core.resources.builders. Now
>> I want to have the on-the-fly compile capability which is similar to
>> JDT tool. May anyone know where I can find more information for this?
>> I'm not sure whether the on-the-fly compile/build function is part of
>> JFace Text Framework? But because JFace Text Framework provides lots
>> of edit capabilities, such as syntax coloring, content assist,
>> folding...etc. I assume it might be there.
The JFace Text framework has means to call the model when the text
changes (aka reconciling). Of course you then need to update the model
based on the actual text. This might help:
http://www.eclipse.org/eclipse/platform-text/eclipseCon/2006 /texteditorrecipes.pdf

Dani
>
> I think this would receive more attention in the eclipse.tools.jdt
> newsgroup, so I'm copying it to there.
>
> Eric
Previous Topic:Independent JDT plugin
Next Topic:File state
Goto Forum:
  


Current Time: Sun Jun 15 06:16:17 EDT 2025

Powered by FUDForum. Page generated in 0.04081 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top