haskell / haskell/haskell-language-server

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

未关闭
#715 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
component: ghcide status: needs info type: enhancement
主要语言
Haskell
星标
3k
派生
455
平均合并
2 天 19 小时
30 天内合并 PR
11

描述

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...)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。