This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
use this code: ---------------- h1{ /* | COMMENT */ } ------- right click at position of "|" -> inside the comment section select "Create Rule" from popup menu, choose something in the dialog and pres OK -> new rule is created inside the h1{} rule: ------------- h1{ a{ } /* | COMMENT */ } -------------- the problem seems to be only for comments inside some rule - invoking create rule action inside some rule or standalone comment works well