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 207350 - [less, error recovery] Broken CSS syntax highlight and auto complete.
Summary: [less, error recovery] Broken CSS syntax highlight and auto complete.
Status: RESOLVED DUPLICATE of bug 216509
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal with 6 votes (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 207223 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-16 15:51 UTC by mdunham918_
Modified: 2012-10-05 06:05 UTC (History)
2 users (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 mdunham918_ 2012-01-16 15:51:01 UTC
Product Version = NetBeans IDE 7.1 (Build 201112071828)
Operating System = Mac OS X version 10.7.2 running on x86_64
Java; VM; Vendor = 1.6.0_29
Runtime = Java HotSpot(TM) 64-Bit Server VM 20.4-b02-402

In 7.1 not in 7.0 in a CSS file:

If you have one error in your CSS file Netbeans will stop processing the file below where the error occurred. Also, for LESS CSS support could you please support tag nesting...
Comment 1 jasie 2012-01-25 10:21:01 UTC
I can confirm this behaviour
Comment 2 stamina 2012-02-16 22:11:17 UTC
It worked quite well on NB 7.0 (all errors were reset upon "}" character).

LessCss and similar projects are increasingly popular, why not to allow their markups? Maybe there should be two content types - CSS with proper markup, and Css-like for all css special markups, with just color coding and code completion.
Comment 3 Marek Fukala 2012-05-10 08:20:13 UTC
*** Bug 207223 has been marked as a duplicate of this bug. ***
Comment 4 Barryvdh 2012-05-10 09:27:02 UTC
Yes, there are some plugins, but they do not support CSS completition/hints.

LESS (and SASS etc) are very similar (see http://lesscss.org/), except for nesting, the use of mixins (like functions, .roundedCorner(3px) ) and variables (@baseFontSize). It would be great if that is supported too, it doesn't seem to different from php/js for example, except for the syntax (@ instead of $ etc)
Comment 5 BullfrogBlues 2012-10-04 14:47:49 UTC
Is https://netbeans.org/bugzilla/show_bug.cgi?id=216509 a duplicate of this or this a duplicate that? If that makes sense?
Comment 6 Marek Fukala 2012-10-05 06:05:14 UTC
yes, thanks.

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