-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REPL tab completion shows methods in unsorted order #11488
Comments
Upgrading to a more recent version of JLine (>= 3.18.0) seems to fix this. |
Aligns with Scala 2.13.5: scala/scala#9467 and sbt 1.4.8: sbt/sbt#6366 Fixes scala#11488
I just tried to use this with the latest Scala nightly build (3.0.0-RC2-bin-20210313-66e180d-NIGHTLY), and I still see this problem. Is this something that should be working with the nightly build? |
@alvinj What command are you using to launch the REPL when the problem is observed? If using sbt, is it 1.4.8 or newer? |
@griggt I’m sorry, yes, I was using sbt v1.4.7 with the nightly build and launching the |
Aligns with Scala 2.13.5: scala/scala#9467 and sbt 1.4.8: sbt/sbt#6366 Fixes scala#11488
Aligns with Scala 2.13.5: scala/scala#9467 and sbt 1.4.8: sbt/sbt#6366 Fixes scala#11488
Compiler version
3.0.0-RC1
Minimized code
Start the REPL, then type
"a."
, followed by a[Tab]
, then typey
when prompted:Output
The output looks like this:
I don’t show all the lines, but that’s how it starts.
Expectation
The Scala 2 REPL shows the same output in sorted order, which is much more helpful.
The text was updated successfully, but these errors were encountered: