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

Extension does seem to work on Windows #85

Closed EduardSergeev closed 1 week ago

EduardSergeev commented 1 week ago

When trying to open a single Haskell file on Windows which is supposed to emit compilation errors no error is emitted in Problems tab while Purple Yolk log contains only the following:

2024-06-22T03:47:21.535Z [ada0] Activating purple-yolk version 1.0.6 ...
2024-06-22T03:47:21.536Z [0226] Getting Haskell interpreter ...
2024-06-22T03:47:21.536Z [0226] Requested Haskell interpreter mode is discover
2024-06-22T03:47:21.536Z [0226] Actual Haskell interpreter mode is custom
2024-06-22T03:47:21.536Z [137c] Getting Haskell formatter ...
2024-06-22T03:47:21.536Z [137c] Requested Haskell formatter mode is discover
2024-06-22T03:47:21.536Z [5279] Getting Haskell linter ...
2024-06-22T03:47:21.536Z [5279] Requested Haskell linter mode is custom
2024-06-22T03:47:21.536Z [5279] Actual Haskell linter mode is custom
2024-06-22T03:47:21.536Z [1f9f] Getting Cabal formatter ...
2024-06-22T03:47:21.536Z [1f9f] Requested Cabal formatter mode is discover
2024-06-22T03:47:21.576Z [137c] Actual Haskell formatter mode is discover
2024-06-22T03:47:21.577Z [1f9f] Actual Cabal formatter mode is discover
2024-06-22T03:47:21.577Z [620e] Starting interpreter ...
2024-06-22T03:47:21.577Z [620e] Running "stack ghci c:\\work\\Haskell\\tmp.hs --ghci-options \"-ddump-json -Wall\"" in "/C:/work/Haskell" ...
2024-06-22T03:47:21.579Z [620e] [stdin] :set prompt "{- purple-yolk 1.0.6 620e -}\n"
2024-06-22T03:47:21.583Z [ada0] Successfully activated in 0.047 seconds.

Purple Yolk is configured to open a single file via:

"purple-yolk.haskell.interpreter.command": "stack ghci ${file} --ghci-options \"-ddump-json -Wall\""

The same version of extension and configuration does work on Linux and MacOS but not on Windows.

tfausak commented 1 week ago

53 might be related.