Uploaded image for project: 'Scala Programming Language'
  1. Scala Programming Language
  2. SI-9643

Scala REPL tab completion does not work if an initialization file is used

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: Scala 2.11.7
    • Fix Version/s: None
    • Component/s: Repl / Interpreter
    • Labels:
      None
    • Environment:

      Ubuntu 15.04, 64 bit, Oracle Java 1.8.0_45 64 bit.

      Description

      This works:

      Run scala then at the prompt type "import java." and press tab: a list of possible completions appears.

      Create a file i.scala that contains an import or e.v. "var x = 1" then run scala. Now, when at the prompt and after typing "import java." and pressing tab, nothing happens.

      In my case this happened whenever the init file is non-empty, even if it contains only comments.

      See the same behaviour on another machine that has Scala 2.11.5 (rest of the environment is the same)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                johann_petrak Johann Petrak
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: