Build an intelligent code editor with JavaFX and JDT

If you followed my blog in the last weeks you know that I’ve been working on a StyledText-Control which allows one to build a source-code editor with syntax highlighting, … .

With basic syntax highlighting you can already achieve a good results because you can highlight things like keywords, String-Literals, … . Still if you are used to e.g. the JDT sourcecode editor you know it e.g. highlights fields – this is called semantic highlighting and because it involves some time to run the compiler to find out semantic informations this is done in the background.

So I started and ported more parts of the Eclipse-Text and JDT-Infrastructure


Highlighting is nice but a more important feature is auto-complete and so I ported more and more of the JDT-UI infrastructure and the result in shown in the video below which shows a prototype of an IDE I’m working on for my EclipseCon talk.

10 Responses to “Build an intelligent code editor with JavaFX and JDT”

  1. This is really awesome! Nice work Tom. I hope JavaFx gains traction and companies start using it in lieu of SWT for rendering.

  2. I’m very interested in this. I see the repo at.bestsolution.efxclipse.styledtext but is there available the source for your small IDE. I want to see how styledtext is used, test examples.

  3. Hi, ive tried to build the fx-ide from github with maven but got some errors. Can you please add an small guide to build it.


  1. e(fx)clipse 0.8.1 released | Tomsondev Blog - March 12, 2013

    […] Since some time we already support animations for perspective switching. Starting with this release we also support animations for window show/hide. You can see both of them in action in a demo applications I’m currently working on. […]

  2. Java desktop links of the week, March 18 | Jonathan Giles - March 17, 2013

    […] detailing his current projects. This week he has three posts. Firstly, he talks about building an intelligent code editor with JavaFX and JDT. Secondly he has announced the release of e(fx)clipse 0.8.1 which includes a number of new […]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 936 other followers

%d bloggers like this: