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

Groovysh File completion with hyphens broken

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0, 2.4.4
    • Fix Version/s: 2.5.0-alpha-1
    • Component/s: Groovysh
    • Labels:
      None

      Description

      To reproduce ('|' is cursor, <tab> means hitting tab):

      $ touch foo.groovy
      $ touch 'foo bar'
      groovy:000> :load "foo|<tab>
      groovy:000> :load "'foo.groovy ' // invalid double hyphens and trailing blank
      

      I suggest handling whitespaces in filenames via escaped blanks, not hyphens.

      See https://github.com/apache/incubator-groovy/pull/92

        Attachments

          Activity

            People

            • Assignee:
              pascalschumacher Pascal Schumacher
              Reporter:
              tkruse Thibault Kruse
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: