Reputation: 51
I'm new to Haskell and I am trying to setup haskell plugin in vscode using official haskell plugin but I came with up some problems with setting up code hinting and syntax recognition of hls plugin.
I have already installed ghc-9.2.4 and 9.2.3(by ghcup) since they are fully supported by the plugin but 9.2.5 which is recommended isn't supported. I also installed these two virsions in stack as well.
VsCode told me that HLS does not support GHC 9.2.5 yet
so at first I tried to change my ghc version to 9.2.4 but I don't know how. I also tried to reinstall stack and reinstall ghc in stack but also failed.
Sometimes command line just report " YAML parse exception at line 9, column 18: mapping values are not allowed in this context
" when I try to use stack command after reinstalling stack and ghc.
So I'd like to ask about how to decide which ghc to use in the setting manually, or if there is another way to solve this problem.
Thanks a lot for your help in advance.
Upvotes: 5
Views: 1746