Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] Orion | Expand Collapse/Folding ruler for JSON code

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




From:   Ammar Ahmad <ammarahmad.122@xxxxxxxxx>
To:     orion-dev@xxxxxxxxxxx
Date:   12/10/2014 06:47 AM
Subject:        [orion-dev] Orion | Expand Collapse/Folding ruler for JSON
code
Sent by:        orion-dev-bounces@xxxxxxxxxxx



Hi All,

We are using Orion editor to work on some JSON files and we are stuck at a
point where we need expand and collapse( folding ruler) option for all
brackets present in the JSON file. (  "{" & "}").

We are having the folding ruler present in our editor but it is not
showing the expand collapse option for the brackets. We are not even
getting the expand collapse option for the comments as well.

We tried most of the permutation and combinations to get that working but
probably I am missing something. Can someone please help us out to get
this working by providing some pointers in that direction.

--
Regards,
Ammar_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/orion-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dev.eclipse.org/mailman/private/orion-dev/attachments/20141210/c9ea8cd9/attachment.html>

------------------------------

_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/orion-dev

End of orion-dev Digest, Vol 48, Issue 11
*****************************************



--
Regards,
Ammar

Back to the top