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

Add neater python style import statements

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-beta-4
    • None
    • None

    Description

      I do wish Groovy would add some extra (Python like) syntax sugar for less verbose imports, along the lines of:

      import Xxxxx, Yyyyy, Zzzz from java.util;

      or

      from java.util import Xxxxx, Yyyyy, Zzzzz;

      Attachments

        Activity

          People

            jstrachan James Strachan
            jstrachan James Strachan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: