Closed
Description
It's cool that the code lens shows the code that will be present after the change, but for imports that import a lot of things, the resulting code lens is massive. In some cases I've had it occupy most of or all of my editor's viewport, which is pretty annoying. This also causes problems in some clients that don't deal so well with massive code lenses (e.g. emacs-lsp/lsp-haskell#137).
I hypothesise that nobody really needs to see exactly what's going to be inserted by this code lens. I think it could be abbreviated:
- Radically, just show "Make this import fully explicit"
- Less radically, show "import Foo (<49 items>)" or something