ndmitchell / ghcid

Very low feature GHCi based IDE
Other
1.13k stars 114 forks source link

Support JSON output #360

Open friedbrice opened 2 years ago

friedbrice commented 2 years ago

Ghci outputs JSON when invoked with flag -ddump-json. However, using this flag with Ghcid causes Ghcid to crash on the first error it encounters. It would be neat if Ghcid supported JSON output, particularly in conjunction with option -o.

ndmitchell commented 2 years ago

When was -ddump-json introduced? I guess code would need to be written to parse whatever is produced on an error. Contributions welcome!