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 202575 - Support Internet Explorer conditional comments as syntax
Summary: Support Internet Explorer conditional comments as syntax
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.0.1
Hardware: PC Windows 7 x64
: P3 normal with 2 votes (vote)
Assignee: Milutin Kristofic
URL: http://msdn.microsoft.com/en-us/libra...
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-23 15:58 UTC by iainhallam
Modified: 2014-10-06 13:27 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description iainhallam 2011-09-23 15:58:20 UTC
Just been working on a site that needed IE-specific fixes, which I included with conditional comments. As per the HTML spec, the comment was greyed out; no completion was done for that area.

However, when the comments are actually active programming constructs, like these, it would be helpful if NetBeans recognised the fact and did something different from just forgetting about them (namely allowing all the editing tools like completion, highlighting, etc., to work inside the IE-only code).

This is a real-world situation that comes up for web site developers on a daily basis, and it would be nice for NetBeans to support it.
Comment 1 Marek Fukala 2011-09-26 12:13:29 UTC
Thanks for the enhancement. Do you happen to have a link to the specification or at least a serious description of pattern? Thanks.
Comment 2 iainhallam 2011-09-26 17:20:52 UTC
(In reply to comment #1)
> Thanks for the enhancement. Do you happen to have a link to the specification
> or at least a serious description of pattern? Thanks.

The URL I gave in the bug report is the MSDN article on them:

http://msdn.microsoft.com/en-us/library/ms537512(v=vs.85).aspx
Comment 3 Marek Fukala 2011-09-27 08:20:38 UTC
Thanks for the link. We'll try to address the issue.