-
Notifications
You must be signed in to change notification settings - Fork 90
Disabling "explicit imports code lenses" does not seem to work #438
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
Comments
hi, thanks for the bug report, did you see haskell/haskell-language-server#2098 (comment) in the original issue? |
There are two import lenses, one called refine imports. I recently managed to kill it in emacs with emacs-lsp/lsp-haskell#130. The setting path is "haskell.plugin.refineImports.globalOn". |
Ok, great! Thanks for the responses. Just in case somebody else comes across this issue: what this means is that this particular plugin cannot (yet) be disabled using the vscode Haskell extension settings, but if you open
the plugin is disabled. |
hmm there is no config to disable it? it should |
When "Enables explicit imports code lenses" is enabled, the import section of my example looks like
After disabling, it looks like
I'd not expect to see any import lenses anymore (but maybe I'm misunderstanding the setting?), but although some import lenses are gone, but all are.
I initially reported this as as a bug against HLS itself (haskell/haskell-language-server#2098) but I guess it's a vscode integration problem, not a HLS problem.
The text was updated successfully, but these errors were encountered: