Make REPL type rendering less noisy; suppress type paths to imported names #17877
bjornregnell
started this conversation in
Feature Requests
Replies: 0 comments 4 replies
-
This could be done for the REPL printing specifically, leaving out error messages, IDE type hoovering etc. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Aha - thanks for linking to that issue, @som-snytt ! This would be a great increase in REPL-ergonomy also in Scala 2 👍 DRY shells for the people!! |
Beta Was this translation helpful? Give feedback.
0 replies
-
This would be great for the REPL and even compiler errors |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When echoing values, the REPL shows all those long package names p1.p2.p3 (except for some scala. stuff like Vector) in front of all types even if I have imported p1.p2.p3 and the type is unique in the scope.
It would be very nice if the REPL could be made to be less noisy and suppress package names etc. before types if they are imported or unambiguous.
Currently:
Could be as nice as:
Beta Was this translation helpful? Give feedback.
All reactions