tfausak / purple-yolk

:hatching_chick: A Haskell IDE for Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=taylorfausak.purple-yolk
MIT License
26 stars 2 forks source link

Errors are not removed from PROBLEMS tab after they is fixed (Stack project) #76

Closed EduardSergeev closed 1 month ago

EduardSergeev commented 1 month ago

When Stack project is loaded using this extension any GHC error seems to get stuck in PROBLEMS tab even after it is fixed and the affected file is saved. What is more if you again introduce the same error and fix it (repeatedly) the same error message in PROBLEMS appears multiple times, e.g.:

image

Reloading the project (via VSCode restart or via "Purple Yolk: Start Interpreter" command) does remove all "stale" error messages but the errors should be removed from PROBLEMS tab as soon as they are fixed and the file is saved.

tfausak commented 1 month ago

Weird. This works as expected for Cabal projects. I wonder if this is related to #43.

tfausak commented 1 month ago

Thanks for reporting! Should be fixed in version 1.0.5.