I have the following problem:
I have installed e(fx)clipse in Eclipse to enable JavaFX compatibility. It properly created the following:
It is not functioning properly, because it lacks to do the following:
Unknown property: -fx-....
for every entry in my CSS.The controller 'someController' has no field 'someField'
, while the fields are initiated in the controller.What I already tried to fix this:
This didn't fix the problem. I think it has something to do with adding the library, because when I add JavaFX SDK and click 'Next', I get a blanco screen and I have to click 'Finish'. When I do, it only adds org.eclipse.fx.ide.css.jfx8
. Is this just normal, or should there be more packages?
I am using Eclipse Luna 4.4.1 and Java JDK 8u40.
Any help is greatly appreciated!
To clarify Alex's answer.
I had the same issue of being unable to get auto-complete with my JavaFX CSS. My fix was add the JavaFX SDK to the library list. To do that:
CSS editing worked after those steps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With