I also mentioned on our mattermost channel, but currently there is no way to easily extend code folding - you would have to modify the Orion code directly.
I opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=499866 to get the discussion going about providing easy(er) code folding extensions.
Michael Rennie
"Zuo, Zhonghai" ---17/08/2016 03:19:24 PM---First I’m new to Orion code edit project. Please forgive me if my question was answered somewhere el
From: "Zuo, Zhonghai" <Zhonghai.Zuo@xxxxxxxxxxxxx> To: "orion-dev@xxxxxxxxxxx" <orion-dev@xxxxxxxxxxx> Date: 17/08/2016 03:19 PM Subject: [orion-dev] _javascript_ code folding Sent by: orion-dev-bounces@xxxxxxxxxxx
First I’m new to Orion code edit project. Please forgive me if my question was answered somewhere else, but I couldn’t find anything (googling) I’m using the Code Edit widget in my project, and want to implement the code folding, but only the comments type of code is working out of the box, i.e. /** * */ But following code is not able to be folded: function myfunc () { var a = 1; var b = a + 1; // a couple of hundreds of line of code here return b; } I’m wondering if that is possible I can implement a feature to be able to fold the above code: + function myfunc () { Thanks in advance for any help. --Z_______________________________________________ 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
|