Navigation Menu

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

REPL print partially qualified type names #8349

Open
scabug opened this issue Feb 27, 2014 · 4 comments
Open

REPL print partially qualified type names #8349

scabug opened this issue Feb 27, 2014 · 4 comments

Comments

@scabug
Copy link

scabug commented Feb 27, 2014

Instead of printing fully-qualified type names, REPL could optionally print the shortest name allowed by current imports, possibly respecting renames on import.

@scabug
Copy link
Author

scabug commented Feb 27, 2014

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

@scabug
Copy link
Author

scabug commented May 14, 2014

@som-snytt said:
The OP wanted to mute it, so maybe it's a verbosity level.

http://stackoverflow.com/q/11066289/1296806

@SethTisue
Copy link
Member

Ammonite:

@ new java.util.ArrayList[String]() 
res0: java.util.ArrayList[String] = []

@ import java.util._ 
import java.util._

@ new java.util.ArrayList[String]() 
res2: ArrayList[String] = []

@SethTisue SethTisue added this to the Backlog milestone Apr 29, 2020
@erikerlandson
Copy link

Would love to see this, if it's not difficult to implement 🎉

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

3 participants