haskell / haskell/haskell-language-server
HLS current version incompatability problem
- Dominant language
- Haskell
- Stars
- 3k
- Forks
- 455
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 13
Description
### Your environment
Which OS do you use:
Windows 10
Which LSP client (editor/plugin) do you use:
VS Code 1.68.1
Describe your project (alternative: link to the project):
haskell project built using Stack. stack.yaml resolver: lts-14.21.
### Steps to reproduce
After installing the Haskell Language extension, try to browse for a definition within a file. VS Code reports a Problem with the file as described below
### Expected behaviour
Should jump to the definition
### Actual behaviour
```
ghcide compiled against GHC 9.2.2 but currently using 8.6.5
This is unsupported, ghcide must be compiled with the same GHC version as the project.
```
The HLS page says that the current version of HLS supports 8.6.5, which does not appear to be the case. It is not clear what version of HLS should be used. This is supposed to work without needed ghcup
### Include debug information
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the definition-browsing failure in VS Code with the Stack project using resolver lts-14.21, then inspect the HLS and ghcide version compatibility guidance. Done means identifying the supported HLS/GHC pairing for GHC 8.6.5 and documenting or correcting the installation path so definition lookup works without requiring ghcup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell, vscode
- Domain
- developer-experience, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100