rsc icon indicating copy to clipboard operation
rsc copied to clipboard

Context-aware autoimports

Open wiwa opened this issue 6 years ago • 0 comments

Consider val x = new A.B Currently, we would rewrite this to:

import A.B
val x: B = new A.B

However, the user has already "declared" their intention to not import A.B since they refer to B by its fully qualified name. In this scenario, we would like to respect the user's (estimated) wishes by simply ascribing val x: A.B = new A.B.

wiwa avatar Jan 25 '19 19:01 wiwa