Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3328

Automatic imports for selected text execution

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0-beta-1
    • Groovy Console
    • None
    • Patch

    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!

      Attachments

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

        Issue Links

          Activity

            People

              pschumacher Pascal Schumacher
              enterit Sergey Bondarenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: