-
-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't jump to literate Haskell file and doesn't reload it either #755
Comments
I forgot to add, it doesn't work either if no |
Do other features work with literate haskell files for you? In my experience, ghcide does not even start. I've had better luck with haskell-language server, on the other hand. |
@pepeiborra No features really work with literate haskell files. I can add a syntax error to a literate haskell file and nothing will happen. But at least somehow the file was loaded at some point because other files that import it don't fail. |
The original literate Haskell support was contributed by @hsenag. I don't think many other people use literate Haskell (I generally advise against it) so this might be something that requires an interested contributor to tackle. |
@ndmitchell I added .hs-boot, not .lhs: digital-asset/daml#2827 I think lhs was done here by @CodiePP: digital-asset/daml#2803 haskell/ghcide#31 |
@turion had you the opprtunity to check lhs files with haskell-language-server (ghcide is being deprecated as external executable)? |
Yes, it works. Thank you! |
For modules defined as literate Haskell, jumping to source doesn't work. Similarly, changes to these files don't get reloaded automatically.
To reproduce:
(This is assuming VSCodium with the ghcide extension as editor.)
essence-of-live-coding/test/Main.hs
essence-of-live-coding/LiveCoding.lhs
, e.g. add a definition(I'm running from a
nix-shell
)The text was updated successfully, but these errors were encountered: