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 230977 - LESS Parsing Issue
Summary: LESS Parsing Issue
Status: RESOLVED DUPLICATE of bug 227510
Alias: None
Product: web
Classification: Unclassified
Component: CSS Preprocessors (SASS, LESS, ...) (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-09 05:29 UTC by jomit
Modified: 2013-06-09 09:25 UTC (History)
1 user (show)

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 jomit 2013-06-09 05:29:05 UTC
Product Version = NetBeans IDE Dev (Build 201306072301)
Operating System = Linux version 3.9.4-200.fc18.x86_64 running on amd64
Java; VM; Vendor = 1.7.0_19
Runtime = OpenJDK 64-Bit Server VM 23.7-b01

Netbeans shows error when encountering `>` symbol in less css file. '>' is perfectly valid in CSS and works fine in CSS file. ie., no error. But when it comes to > symbol, it shows error.  Netbeans stops highlighting and autosuggestion after encountering '>' symbol error.

Examples 1:

    .nav-list > li > a {
        // less css styles ....
    }

The above syntax with '>' symbol is valid in both CSS and LESS. Works in CSS file.

Example 2:

    .breadcrumb {
        // less css styles ....

        > li {
            // less css styles ....
        }

        > .divider {
            // less css styles ....
        }
    }

This syntax with '>' is valid only in LESS and is also not working here.


NB: I know that I am using development version and thus issues can be expected. However, I am reporting it in case you missed it.
Comment 1 Vladimir Riha 2013-06-09 09:25:11 UTC
Thank you for reporting, looks like your case is the same as #2 in issue 227510

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