Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JAVA FX css editor warning on VSCODE

I am using javafx 15 with java 11.0.8 with visual studio code.

I think vscode does not recognize javafx css. It shows warnings such as: "Also define the standard property 'background-image' for compatibilitycss(vendorPrefix)" for property fx-background-image and it will do the same for all fx- prefixes.

It is as if vscode does not know about javafx css and relies on "web rules".

Is there a way to work around this?

like image 877
Jawad El Fou Avatar asked May 16 '26 17:05

Jawad El Fou


1 Answers

I also had the same issue, I found that you can choose to ignore the warning messages in the settings of vscode.

1. Press : Ctrl + ,

2. Search : CSS > Lint: Vendor Prefix

3. Select : ignore

like image 149
sydkif Avatar answered May 19 '26 08:05

sydkif