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 258880 - Unstable JSON formatting
Summary: Unstable JSON formatting
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: JSON (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-17 18:01 UTC by Vladimir Riha
Modified: 2016-05-30 12:59 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 Vladimir Riha 2016-04-17 18:01:51 UTC
In a plain HTML5 project, I have a json file with following content:

=======
{
"name": "vlriha"
}
=======

when I try to format the file, the content is switching between

=======
{
"name": "vlriha"
}
=======

and 

=======
{
"name": "vlriha"
        }
=======


Thank you


Product Version: NetBeans IDE Dev (Build javascript2-frameworks-1865-on-20160415)
Java: 1.8.0_65; Java HotSpot(TM) 64-Bit Server VM 25.65-b01
Runtime: Java(TM) SE Runtime Environment 1.8.0_65-b17
System: Linux version 4.2.0-19-generic running on amd64; UTF-8; en_US (nb)
Comment 1 Petr Hejl 2016-05-30 12:59:37 UTC
Seems to be stable now on the ecma6 branch.