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.

Bug 234840 - Use of the identifier "when" seems to cause issues in the editor
Summary: Use of the identifier "when" seems to cause issues in the editor
Status: RESOLVED DUPLICATE of bug 231249
Alias: None
Product: web
Classification: Unclassified
Component: CSS Preprocessors (SASS, LESS, ...) (show other bugs)
Version: 7.4
Hardware: Macintosh (x86) Mac OS X
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-23 08:27 UTC by hicksyfern
Modified: 2013-08-26 07:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hicksyfern 2013-08-23 08:27:17 UTC
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.
Comment 1 Roman Svitanic 2013-08-23 09:01:58 UTC
Reassigning to PHP for evaluation. If I am wrong with product/component, please reassign to the correct one.
Comment 2 Ondrej Brejla 2013-08-23 09:07:50 UTC
Reassigning to Marek. Doesn't work in HTML files either. But definitely not P1.
Comment 3 Marek Fukala 2013-08-26 07:19:19 UTC

*** This bug has been marked as a duplicate of bug 231249 ***