Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-4926

upgrade jline

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • None

    Description

      Emilio Recio
        7 hours ago
      GSH in Grouper 4.4.0: How do I make it do name completion for the Grouper API? For example "Group<TAB>" works in 2.x but not in 4.x

       

      3 replies

      Emilio Recio
        7 hours ago
      It's already loading the regular groovysh.profile and not the lightweight one.

      Emilio Recio
        5 hours ago
      Found it! Problem with version of Groovy installed and Java 17. Imported libraries don't get added to AutoComplete.
       https://github.com/jline/jline3/issues/674 It has since been fixed in jLine3 which Groovy uses (2021) but we're running an older version. 
      @mchyzer
       can we get a bump in Groovy? Perhaps just replace the jline jar?
      It's a handy feature that allows me to scratchpad code quickly without looking at the API docs all the time.
      #674 Groovy REPL: enum tab completion fails for imported class
      JVM:
      \>java -version
      openjdk version "13" 2019-09-17
      OpenJDK Runtime Environment (build 13+33)
      OpenJDK 64-Bit Server VM (build 13+33, mixed mode, sharing)
      Enum tab completion works when entering a complete class name i.e.
      groovy-repl> org.jline.reader.LineReader.Option.tab
      Show more
      Milestone
      3.21.0
      <https://github.com/jline/jline3|jline/jline3>jline/jline3 | May 23rd, 2021 | Added by GitHub

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: