Try to import a module that is not added to package.yaml
ghcid will mark that as an error and add a squiggly line
Add the missing package to package.yaml dependencies
Restart ghcid
Error is no longer in ghcid terminal output
The red squiggly is still in the output
Stackage snapshot: nightly-2019-06-08
ghcid version: Auto reloading GHCi daemon v0.7.4
I noticed there are a few other issues related to automatic restarting of ghcid when package.yaml changes. However, even if you manually close the ghcid terminal and run "Start Ghcid" again the error seems to be unaffected. If I delete the line and bring it back, VSCode somehow remembers that haskell-ghcid has marked it as bad.
Haven't found any other workarounds than restarting VSCode, which is getting quite annoying.
Steps to reproduce:
Stackage snapshot: nightly-2019-06-08 ghcid version: Auto reloading GHCi daemon v0.7.4
I noticed there are a few other issues related to automatic restarting of ghcid when package.yaml changes. However, even if you manually close the ghcid terminal and run "Start Ghcid" again the error seems to be unaffected. If I delete the line and bring it back, VSCode somehow remembers that haskell-ghcid has marked it as bad.
Haven't found any other workarounds than restarting VSCode, which is getting quite annoying.