haskell / haskell-language-server

Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
Apache License 2.0
2.61k stars 351 forks source link

[WIP] Introduce new code action: suggest missing fields #4325

Open akshaymankar opened 1 week ago

akshaymankar commented 1 week ago

Detects -Wmissing-fields warnings and suggests a code action to add all the missing fields.

Resolves #462

Pending tasks:

akshaymankar commented 1 week ago

The basic test is failing because there are extra new lines

I need help with this one. I tried adding traceAst everywhere, but it still doesn't make sense to me.