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

Tab completion in the REPL doesn't work in certain cases #4438

Closed
scabug opened this Issue Apr 2, 2011 · 4 comments

Comments

Projects
None yet
2 participants
@scabug
Copy link

scabug commented Apr 2, 2011

=== What steps will reproduce the problem (please be specific and use wikiformatting)? ===

For example:

   scala> List( 1, 2, 3 ).redu<tab>

=== What is the expected behavior? ===

I should see the following options:

   reduceLeft          reduceLeftOption    reduceRight         reduceRightOption

=== What do you see instead? ===

   <console>:1: error: illegal start of definition

=== What versions of the following are you using? ===

  • Scala: 2.8.1 and 2.9.0.RC1
  • Java: 1.6.0_20
  • Operating system: 10.6.4
@scabug

This comment has been minimized.

Copy link
Author

scabug commented Apr 2, 2011

@scabug

This comment has been minimized.

Copy link
Author

scabug commented May 9, 2011

@soc said:
On 2.10.0.r24908-b20110508020204 too. Actually this one exists for a long time already.

Array(1,2,3) has the same problem.

@scabug

This comment has been minimized.

Copy link
Author

scabug commented Apr 19, 2015

Li Haoyi (lihaoyi) said:
This is fixed in the Ammonite REPL

@ List( 1, 2, 3 ).reduce<TAB>
reduce              reduceLeft          reduceLeftOption    reduceOption        reduceRight
reduceRightOption
@ List( 1, 2, 3 ).reduce
@scabug

This comment has been minimized.

Copy link
Author

scabug commented Jul 26, 2015

@som-snytt said (edited by @lrytz on Sep 20, 2015 7:26:38 AM UTC):
github.com/scala/scala/pull/4659 part of scala/scala#4725

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment