JavaFX and custom pseudo CSS classes.

Is there a way to get IDEA to recognize custom pseudo CSS classes with JavaFX?  For example, I'm trying to create pseudo classes for Worker.State.  I want:

worker-state:ready {

}

worker-state:running {

}


..etc..  My code works, but the pseudo states are always highlighted as code errors.  Is it possible to set things up so that IDEA recognizes custom pseudo CSS classes?  I mainly want to know if I'm doing something wrong or running into an expected limitation.

2
4 comments

Hi Ryan,

Unfortuantely you can't do it. IDEA still doesn't support custom pseudo classes. Please file a feature request at our tracker

0
Avatar
Permanently deleted user

Hi !

Just want to ask if there is any update regarding this issue. Just playing around with PseudoClasses, project runs fine, but in CSS file the pseudo class is shown as an error.

Many thanks for your reply !

BRGDS

0

You can follow the feature request here https://youtrack.jetbrains.com/issue/WEB-55355

0
Avatar
Permanently deleted user

Hi Sergei,

Many thanks !

BRGDS

0

Please sign in to leave a comment.