Uploaded image for project: 'CLI'
  1. CLI
  2. CLI-18

Add possibility to edit groovy macro with auto completion

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Unresolved
    • Major
    • None
    • Unknown

    Description

      This is to add the possibility to edit groovy macro with the full XWiki context. So by example typing services.query. will automatically suggested the method of the QueryManagerScriptService.

       

      By adding something like @BaseScript ScriptContext mainScript at the top of the script we can say to the IDE to import the context from an other page and then declare the full context in this one.

       

      Ideally we should have a same tools for velocity but currently I didn't find any IDE with auto-completion for velocity so a feature like this might be useless for velocity.

      Attachments

        Activity

          People

            Unassigned Unassigned
            josue Josué Tille
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: