haskell / haskell/haskell-language-server

Only report typed holes errors/warnings if no other errors remain

Open
#715 8 comments 0 reactions 0 assignees View on GitHub
component: ghcide status: needs info type: enhancement
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
2d 19h
Merged PRs (30d)
11

Description

I often use typed holes while developing so I don't have to think about them while refactoring something. Unfortunately, `ghcide` (and most other tools) still flag the holes with warnings/errors unless you completely disable them. I think it would be great if you could (conditionally) make `ghcide` only report hole errors/warnings when all other issues have been fixed so they don't interrupt refactoring attempts with pointless noise.

(Actually, writing this I realise it might be even better to generalise this to entire sets of warnings that should only be reported when everything else is fixed, which could then include things like unused names/imports, but this might only be feasible after GHC finally gets structured error output...)

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.