haskell / haskell/vscode-haskell

When encountering an unsupported GHC version, HLS should output the last supported GHC version

Open
#1,269 8 comments 0 reactions 0 assignees View on GitHub
type: enhancement
Dominant language
TypeScript
Stars
597
Forks
98
PR merge metrics
No merged PRs in 30d

Description

## Is your enhancement request related to a problem? Please describe.

I just tried using HLS in VS Code (via the Haskell extension) and got an error message saying, "ERROR Error: HLS does not support GHC 9.10.2 yet." Understandable, but it would be nice to know what version of GHC I _can_ use.

## Describe the solution you'd like

The error message should include the latest supported GHC version.

## Describe alternatives you've considered

Googling it which is annoying and not straightforward, since support for particular GHC versions depends on the version of HLS you're using, which you then have to look up as well, so you have to google how to do that, etc.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the VS Code extension surfaces the HLS error for an unsupported GHC version, then identify where the supported-version information is available. Done means the error message names the latest supported GHC version; verify the wording through the relevant extension or integration tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell, typescript, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.