e(fx)clipse css auto completion isn't working and unknown properties

677 Views Asked by At

I search the web and didn't find any sulution to help me.

I did tried to check all what that java related in the 'Content Assistent'.

I did tried to add css to the 'File Association', and I do have the JavaFX SDK

Furthermore, it's not detect any css fx property.

enter image description here enter image description here enter image description here enter image description here

2

There are 2 best solutions below

0
On

This worked for me:

  1. Add javafx sdk library to the java build path

    right click on your project -> properties -> Java build path -> libraries -> add library -> javafx sdk

    see image 1

  2. Configure e(fx)clipse like your default editor to css files.

    windows -> preferences -> general -> editors -> file associations

    see image 2

0
On

I tried every method like adding javafx sdk jars in buildpath. Adding file associations and text editor for css in Preferences but none of these worked.

At last I added this jar to build-path. It is located in the eclipse installation plugins folder:

org.eclipse.fx.ide.css.jfx8_3.5.0.201907240300.jar

and css code completion for javafx started working.