haskell / haskell/haskell-language-server

HLS fails to provide a import recommendation.

Open
#4,618 8 comments 0 reactions 0 assignees View on GitHub
component: imports plugin Hackathon type: bug
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
2d 19h
Merged PRs (30d)
11

Description

### Your environment

Windows - hls-2.10 (ghcup) - ghc-9.12.2 - VSCode

Have you configured HLS in any way (especially: a `hie.yaml` file)?

No

### Steps to reproduce

git clone https://github.com/AndreasPK/hls-import-bug.git hls-import-2

Load in vscode

### Expected behaviour

HLS should recommend a import exporting RunSpliceFailReason

### Actual behaviour

HLS does not suggest a import

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.