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.