haskell / haskell/haskell-language-server

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

Ouverte
#715 8 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
component: ghcide status: needs info type: enhancement
Langage dominant
Haskell
Étoiles
3k
Forks
455
Merge moyen
2 j 19 h
PR mergées (30 j)
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...)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.