Skip to content

Show progress bar when getting GHC version to avoid freezing GUI #412

Closed
@runeksvendsen

Description

@runeksvendsen

This comment explains the issue: haskell/haskell-language-server#2010 (comment)

In short, the process of getting a project's GHC version when using cabal is as slow as resolving dependencies, which can be really slow (in the provided example it takes a minute). The result is that the user gets no feedback on what is going on, because HLS can't start until we know which GHC version the project uses. Also, the GUI may freeze, and prevent other extensions from starting.

The solution is to display a VS Code "progress popup" while we're trying to get the project's GHC version.

This issue is for tracking the required changes to vscode-haskell while the linked issue tracks the potential changes to haskell-language-server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementAn enhancement to an already existing featuretype: user experienceAn enhancement to the UX, e.g. better error handling

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions