GRECLIPSE
  1. GRECLIPSE
  2. GRECLIPSE-1029

Ability to augment/customize the outline view for Groovy scripts and other files

    Details

    • Type: New Feature New Feature
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.2Release
    • Fix Version/s: 2.5.0Release
    • Component/s: Editor
    • Labels:
      None
    • Number of attachments :
      6

      Description

      Currently, the outline view for scripts is not too useful. It would be nice to be able to have some custom outline views available for scripts.

      Also, in the long term, we should consider exposing an extension point so that third party plugins can provide even more ousomization.

        Issue Links

          Activity

          Hide
          Andrew Eisenberg added a comment -

          Initial work is complete. May open new issues for the bullet points in the previous comments.

          Show
          Andrew Eisenberg added a comment - Initial work is complete. May open new issues for the bullet points in the previous comments.
          Hide
          Maxime HAMM added a comment - - edited

          Thank you Andrew !

          About the "getSourceReferenceAt" : this method is used to select a part of code in the editor when some node is selected... the outline page expected a "ISourceReference" that can be JavaElement but may be something else ? That's not important, i see that you kept the return type as ISourceReference...

          About the button, yes i think they are currently not working... I was thinking someone will work on that later and add some specific Groovy buttons... may be i will do it for my Jspresso plugin.

          It works fine in debug mode... i'm waiting the groovy eclipse site update to finalize my tests...

          Show
          Maxime HAMM added a comment - - edited Thank you Andrew ! About the "getSourceReferenceAt" : this method is used to select a part of code in the editor when some node is selected... the outline page expected a "ISourceReference" that can be JavaElement but may be something else ? That's not important, i see that you kept the return type as ISourceReference... About the button, yes i think they are currently not working... I was thinking someone will work on that later and add some specific Groovy buttons... may be i will do it for my Jspresso plugin. It works fine in debug mode... i'm waiting the groovy eclipse site update to finalize my tests...
          Hide
          Andrew Eisenberg added a comment -

          Dev build is now available. Let me know if it works for you.

          Show
          Andrew Eisenberg added a comment - Dev build is now available. Let me know if it works for you.
          Hide
          Maxime HAMM added a comment -

          Hello Andrew !
          It works fine,
          It is a new great feature for Jspresso DSL !
          Thank you for your help
          Maxime

          Show
          Maxime HAMM added a comment - Hello Andrew ! It works fine, It is a new great feature for Jspresso DSL ! Thank you for your help Maxime
          Hide
          Maxime HAMM added a comment -

          Here is the Jspresso implementation for the outline feature
          Hope this will help some other Groovy Eclipse developpers
          Maxime
          www.jspresso.org

          Show
          Maxime HAMM added a comment - Here is the Jspresso implementation for the outline feature Hope this will help some other Groovy Eclipse developpers Maxime www.jspresso.org

            People

            • Assignee:
              Andrew Eisenberg
              Reporter:
              Andrew Eisenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: