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

Summary: Code formatting destroys class names
Product: javascript Reporter: AndreasHabel
Component: Formatting & IndentationAssignee: Roman Svitanic <rsvitanic>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 8 x64   
Issue Type: DEFECT Exception Reporter:

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 ***