<< You Become What You Disrupt | Home | Friday Java Quiz: Incompatible Language Changes >>

Brian Goetz: JavaFX Plugin For IntelliJ

Brian Goetz on openjfx-compiler mailing list:
I've been spending some time the last few days writing an
IntelliJ plugin for JavaFX.  So far, I've got it to:

  - recognize .fx files as belonging to JavaFX and associate
    them with the plugin;
  - Add the "new JavaFX Class" action to the new menu;
  - Invoke the JavaFX compiler to compile JavaFX files into
    your project's classes directory, alongside Java files;
  - Capture compilation errors and route clickable diagnostics
    back to the "Compilation Errors" pane.

This is all pretty trivial, but its a good start.  Next is the
hard one:

    hooking up the compiler to the editor.

Thank god for sample code.  There's hardly any docs.

When I make more progress I'll package it and figure out where
to check it in.  Right now, I'm packaging the compiler JARs in 
the plugin, which is probably less than optimal, but avoids
the step of configuring where the FX SDK is.


Re: Brian Goetz: JavaFX Plugin For IntelliJ

Have you made any progress since this post? I think there is a pretty big group of people who would like to use and/or contribute.

Re: Brian Goetz: JavaFX Plugin For IntelliJ

Hey Brian -- Sounds great! I'd love to use it. Would that other project help with that last bit?

Add a comment Send a TrackBack