Skip to content
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

Hitting tab button two times in REPL is not recognized anymore #8027

Closed
scabug opened this issue Dec 3, 2013 · 4 comments
Closed

Hitting tab button two times in REPL is not recognized anymore #8027

scabug opened this issue Dec 3, 2013 · 4 comments
Assignees
Milestone

Comments

@scabug
Copy link

scabug commented Dec 3, 2013

The behavior how it should be:

Welcome to Scala version 2.10.1 (OpenJDK 64-Bit Server VM, Java 1.7.0_45).
Type in expressions to have them evaluated.
Type :help for more information.

scala> List(1)
res0: List[Int] = List(1)

scala> res0.map // hit tab button the first time
map           mapConserve   

scala> res0.map // hit tab button the second time
                                                                                    
def map[B, That](f: A => B)(implicit bf: generic.CanBuildFrom[Repr,B,That]): That   

scala> res0.map

How it is:

Welcome to Scala version 2.11.0-20131103-143755-4a6882e772 (OpenJDK 64-Bit Server VM, Java 1.7.0_45).
Type in expressions to have them evaluated.
Type :help for more information.

scala> List(1)
res0: List[Int] = List(1)

scala> res0.map // hit tab button the first time
map           mapConserve   

scala> res0.map // hit tab button the second time
map           mapConserve   

scala> res0.map

The REPL doesn't recognize anymore that the tab button is pressed two times.

@scabug
Copy link
Author

scabug commented Dec 3, 2013

Imported From: https://issues.scala-lang.org/browse/SI-8027?orig=1
Reporter: @sschaef
Affected Versions: 2.11.0

@scabug
Copy link
Author

scabug commented Dec 3, 2013

@som-snytt said:
Would be nice if it worked without the res0, too. (I was just looking at the completion code.)

@scabug
Copy link
Author

scabug commented Dec 3, 2013

@sschaef said:
I agree.

@scabug
Copy link
Author

scabug commented Dec 4, 2013

@som-snytt said:
Was not an interesting jline issue.

scala/scala#3218

@scabug scabug closed this as completed Dec 13, 2013
@scabug scabug added this to the 2.11.0-M8 milestone Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants