Skip to content

Quick Fix (VSCode) No Longer Showing Fix Options #4012

Closed as not planned
Closed as not planned
@theGhostJW

Description

@theGhostJW

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

  1. slightly change a variable name to be incorrect

  2. hover over the error

  3. => note the suggested fix:

    image

  4. invoke Quick Fix

  5. => no related fix option is given

image

Expected behaviour

Fix option should be provided

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs triagetype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions