haskell / haskell/haskell-language-server

Add missing cases Feature is not available

Open
#4,489 1 comment 0 reactions 0 assignees View on GitHub
type: enhancement
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
2d 19h
Merged PRs (30d)
11

Description

### Your environment

Which OS do you use?
Ubuntu
Which version of GHC do you use and how did you install it?
ghcup (ghc: 9.4.8)
How is your project built (alternative: link to the project)?

Which LSP client (editor/plugin) do you use?
VsCode
Which version of HLS do you use and how did you install it?

haskell-language-server version: 2.9.0.1 (GHC: 9.4.8) (PATH: /home/sudip/.ghcup/hls/2.9.0.1/lib/haskell-language-server-2.9.0.1/bin/haskell-language-server-9.4.8)

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

### What
Not long before in the era of ghc8, I could autocomplete on a case with all the cases . I have heavily relied on this feature. It made possible to work with libraries without understanding everything about a data type. In recent versions this feature has vanished making it compulsary to dive into library code

### Current
In this screen all I have is `Add EmptyCase` It doesn't suggest `Add missing cases` options at all

Image

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.