I have a following problem with e(fx)clipse:
Whenever I try to write some CSS code using e(fx)clipse CSS Editor I keep getting a syntax error:
Syntax error on token ".", interface expected
when using dot with class selectors like in this example:
.root{
-fx-font-size: 16pt;
-fx-font-family: "Courier New";
-fx-base: rgb(132, 145, 47);
-fx-background: rgb(225, 228, 203);
}
When I don't use the "." the error looks like this:
Syntax error on token "root", interface expected before this token
Other features of e(fx)clipse, even CSS autocompletion, work ok. I have no idea what's going on, so any help would be appreciated.
My setup is:
- Eclipse IDE for Java EE Developers 4.4.2.20150219-0708
- e(fx)clipse - IDE 1.2.0.201501301049
- Java 1.8.0_45-b14
- Windows 7 64-bit