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

Back to the top