GRECLIPSE
  1. GRECLIPSE
  2. GRECLIPSE-60

Syntax coloring of MarkupBuilder code

    Details

    • Type: Wish Wish
    • Status: Open Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Editor
    • Number of attachments :
      0

      Description

      I was wondering if it would be possible for Groovy source editors to recognize method calls to a Builder object and color them differently. I think it would be cool if you could easily see which calls generate a XML element (if you use a XML Builder). While I like the power of the Builder concept, I am a bit worried that my XML generating code could become hard to maintain, because the syntax of the element emitting code is identical to the generating code (loops, calculations, helper methods and such).

        Activity

        Hide
        Andrew Eisenberg added a comment -

        The correct resolution here is to provide a DSL descriptor for the markup builder. It would be something similar to what Groovy-Eclipse currently ships for swing builder. I am willing to accept a patch for this.

        Show
        Andrew Eisenberg added a comment - The correct resolution here is to provide a DSL descriptor for the markup builder. It would be something similar to what Groovy-Eclipse currently ships for swing builder. I am willing to accept a patch for this.

          People

          • Assignee:
            Unassigned
            Reporter:
            Michael Koch
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: