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

Issues with autocompletion of backtick-delimited identifiers in the REPL #6919

Open
scabug opened this issue Jan 5, 2013 · 3 comments
Open
Labels
Milestone

Comments

@scabug
Copy link

scabug commented Jan 5, 2013

This is a very minor issue.

If we define the following in the REPL

object Foo { val `1 ?` = () }

and we type:

Foo.<tab>

then "1 ?" is suggested as an option.
If we type:

Foo.1<tab>

then this autocompletes to

Foo.1 ?

which isn't valid, so ought to complete to

Foo.`1 ?`

Interestingly,

Foo.`<tab>

will suggest all members of Foo correctly, though (for example),

Foo.`c<tab>

appears to search the global namespace, offering suggestions such as classOf, clone, com and collection.

@scabug
Copy link
Author

scabug commented Jan 5, 2013

Imported From: https://issues.scala-lang.org/browse/SI-6919?orig=1
Reporter: @propensive
Affected Versions: 2.10.0
See #7957

@scabug
Copy link
Author

scabug commented Sep 10, 2015

@retronym said:
I tried to implement this as part of my recent REPL revamp. See the last commit scala/scala@2.11.x...retronym:ticket/6919

Still needs quite a bit more finesse.

@som-snytt
Copy link

Should also backtick keywords, per linked ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants