-
-
Notifications
You must be signed in to change notification settings - Fork 391
Quick Fix (VSCode) No Longer Showing Fix Options #4012
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
HLS relies on GHC's diagnostics to power code actions, if you change the diagnostics that GHC emits we may not function the same. In particular, it looks like you have |
we set I think this is just hls-refactor-plugin not being available for GHC 9.8 in 2.6.0.0 |
Good spot, that would do it. |
Okay, I'm going to close this as expected behaviour then. |
OK thanks. Hope to see it become available a future release. |
@michaelpj @wz1000 is there an issue tracking |
It will be included in the next release. |
Uh oh!
There was an error while loading. Please reload this page.
Your environment
Which OS do you use?
Ubuntu (Windows WSL)
Which version of GHC do you use and how did you install it?
cabal: 3.10.2.1
ghc: 9.8.1
Which LSP client (editor/plugin) do you use?
vscode-haskell
Which version of HLS do you use and how did you install it?
2.6.0.0 via ghcUp
Have you configured HLS in any way (especially: a
hie.yaml
file)?No
Summary
Previously, when there is a hint or error, quick fix options have been provided in VSCode (e.g. to use a correct variable name or update imports), and these could be applied automatically by selecting one of those options.
Now the only options provided are either to turn off the error via a pragma or copilot related fixes. I have tried disabling copilot and confirmed this does not fix the issue. Also, the suggested code action is provided in the hint.
I have double checked my HLS options selected in VS code and all the related code action / plugin options are checked.
Steps to reproduce
slightly change a variable name to be incorrect
hover over the error
=> note the suggested fix:
invoke Quick Fix
=> no related fix option is given
Expected behaviour
Fix option should be provided
The text was updated successfully, but these errors were encountered: