Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[orion-dev] Orion | folding scopes

Hi Grant/All,

Thanks for a quick reply on this. 

We needed a small bit of help on this folding of scopes (expand collapse) for the JSON files. Is there a workaround to get this thing working for the time being until we have the feature inbuilt in Orion.

Your help would be highly appreciated, we need this feature very much.

Regards,
Ammar



Date: Wed, 10 Dec 2014 11:02:26 -0500
From: Grant Gayed <Grant_Gayed@xxxxxxxxxx>
To: Orion developer discussions <orion-dev@xxxxxxxxxxx>
Subject: Re: [orion-dev] Orion | Expand Collapse/Folding ruler for
        JSON code
Message-ID:
        <OF78E1AD4F.1BEFF74D-ON85257DAA.00574B55-85257DAA.00581CDA@xxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

Hi Ammar,

You're not seeing folding for comments because comments are not valid JSON
[1].  If you were in a .js file then you would see folding annotations for
them.

Folding of scopes ("{" & "}") is not currently implemented.  There's an
existing feature request in this area [2], though if you want you can log
a specific request for this [3].

Grant

[1] http://stackoverflow.com/questions/244777/can-i-comment-a-json-file
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=365769
[3]
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Orion&bug_severity=enhancement


Back to the top