groovy
  1. groovy
  2. GROOVY-3328

Automatic imports for selected text execution

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0-beta-1
    • Component/s: Groovy Console
    • Labels:
      None
    • Testcase included:
      yes
    • Patch Submitted:
      Yes
    • Number of attachments :
      3

      Description

      As a Groovy Console user I would like to improve execution of selected text, so that all imports of script were automatically applied to selected text.
      So user will be eable to execute part of script without being forced to copy-paste import section. That would make running of a part of script much easier.
      Also I think Imports from selected text should have higher priority than imports from script.

      Attached patch implements changes that are required for this improvement.
      Any comments are welcome!

      1. AutomaticImports.2.patch
        12 kB
        Sergey Bondarenko
      2. AutomaticImports.3.patch
        13 kB
        Sergey Bondarenko
      3. AutomaticImports.patch
        11 kB
        Sergey Bondarenko

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Pascal Schumacher
              Reporter:
              Sergey Bondarenko
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: