de-jcup / eclipse-jenkins-editor

Jenkins Editor - A eclipse plugin to edit "Jenkinsfile" files
https://marketplace.eclipse.org/content/jenkins-editor
Apache License 2.0
45 stars 5 forks source link

feature request: add folding support #52

Open missedone opened 6 years ago

missedone commented 6 years ago

it's a nice eclipse to view and edit the Jenkinsfile,

could you add folding support, it will help on viewing large Jenkinsfile

thanks

de-jcup commented 6 years ago

I have done researches about folding in https://github.com/de-jcup/eclipse-yaml-editor/issues/31 which shows up problems with inner parts and (maybe) how to solve them.

As done inside yaml editor approach the position handling should be done by using data from outline model. When I got it working in yaml editor I will adopt it to jenkins editor. If its very complicated a common solution will be added to https://github.com/de-jcup/eclipse-commons and reused.

missedone commented 6 years ago

sounds good, thx