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 193950 - That the json value object intend options to not every item in one line;
Summary: That the json value object intend options to not every item in one line;
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-31 03:54 UTC by fortruth
Modified: 2012-09-30 13:23 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 fortruth 2010-12-31 03:54:53 UTC
Product Version = NetBeans IDE 6.9 (Build 201011082200)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_14
Runtime = Java HotSpot(TM) Client VM 14.0-b16

for example code now when indent's result;

  var medium = [
    {
        "medium":"gas",
        "vlid":"22155"
    },

    {
        "medium":"water",
        "vlid":"22255"
    },

    {
        "medium":"power",
        "vlid":"22227"
    }
    ];


if could provider an options to stop  every item in new  line; I can have the expect indent result like

  var medium = [
    { "medium":"gas", "vlid":"22155" },
    { "medium":"water", "vlid":"22255" },
    { "medium":"power", "vlid":"22227" }
    ];
Comment 1 Petr Hejl 2012-09-26 21:02:26 UTC
Now, in 7.3, it is possible to disable such wrapping in formatter. Is that what you expect? It won't change multiple lines to single line - it will just keep the lines as you wrote them.
Comment 2 fortruth 2012-09-30 13:23:50 UTC
(In reply to comment #1)
> Now, in 7.3, it is possible to disable such wrapping in formatter. Is that what
> you expect? It won't change multiple lines to single line - it will just keep
> the lines as you wrote them.

yes, exactly.

thanks for your hard works. have a coffee break. :).

So, It have been in the daily build? 

if yes, I am expecting to have a try now. :)