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

Autocomplete when lacking implicits #9792

Open
scabug opened this issue May 25, 2016 · 3 comments
Open

Autocomplete when lacking implicits #9792

scabug opened this issue May 25, 2016 · 3 comments

Comments

@scabug
Copy link

scabug commented May 25, 2016

When autocompleting, you get suggestions that will fail.

scala> (1,2).
_1   canEqual   equals     invert         productElement    productPrefix   toString   zipped   
_2   copy       hashCode   productArity   productIterator   swap            x                   

scala> (1,2).zipped
<console>:12: error: No implicit view available from Int => scala.collection.TraversableLike[El1,Repr1].
       (1,2).zipped
             ^
@scabug
Copy link
Author

scabug commented May 25, 2016

Imported From: https://issues.scala-lang.org/browse/SI-9792?orig=1
Reporter: @som-snytt
Affected Versions: 2.11.8

@scabug
Copy link
Author

scabug commented Aug 10, 2016

@SethTisue said:
is this really a bug? you could explicitly pass the missing argument.

oh, ah, but tab completion has single and double tabs, where double-tab gives you everything. so maybe something like zipped ought to be relegated to double-tab .

@scabug
Copy link
Author

scabug commented Aug 10, 2016

@som-snytt said:
It's an improvement!

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