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 251495 - Code formatting destroys class names
Summary: Code formatting destroys class names
Status: RESOLVED DUPLICATE of bug 251057
Alias: None
Product: javascript
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 8.0
Hardware: PC Windows 8 x64
: P3 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-30 08:02 UTC by AndreasHabel
Modified: 2015-03-30 08:16 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 AndreasHabel 2015-03-30 08:02:55 UTC
Product Version: NetBeans IDE 8.0 (Build 201403101706)

I have some AngularJs directives driving icon appearance:

<i ng-class='(msg.$selected ? "fa-check-square" : "fa-square-o")' class="fa fa-fw" style="cursor: pointer;"></i>

After applying code formatting to the page, the second classname gets broken like this:

<i ng-class='(msg.$selected ? "fa-check-square" : "fa - square - o")' class="fa fa-fw" style="cursor: pointer;"></i>
Comment 1 Roman Svitanic 2015-03-30 08:16:40 UTC
Already fixed.

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