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.

1 comment
Comment actions Permalink

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

Please sign in to leave a comment.