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.
The word "when" seems to have special significance across the entire IDE these days. In a SASS file, the line "li.when {}" is underlined and marked with "Unexpected token LESS_WHEN found. In a .phtml view script, having class="when" on an HTML element causes the exact same annotation. I've not tried the other editors, but it seems odd for a SASS error to appear in the PHP editor.
Reassigning to PHP for evaluation. If I am wrong with product/component, please reassign to the correct one.
Reassigning to Marek. Doesn't work in HTML files either. But definitely not P1.
*** This bug has been marked as a duplicate of bug 231249 ***