Closed remi-guan closed 1 year ago
Sorry for my bad, if I read the wiki carefully this shall not happen because:
So .ghci
will always be loaded, and the configurations should not be set in that file, but a .ghci.standalone
instead.
Thus, I did as they say:
.ghci
to .ghci.standalone
alias ghci="ghci -v0 -ignore-dot-ghci -ghci-script ~/.ghci.standalone"
to my shell's config fileAnd everything works fine.
I'm getting an error as shown in the image, this is a new project configured with the recommended settings.
I'm using IntelliJ IDEA 2022.3.3 and IntelliJ-Haskell 1.0.0-beta88, everything is the newest from now.
I've configured my GHCi followed by the wiki to support my custom prompt and highlighting. Packages
hscolour
andpretty-show
are being used.I'm pretty sure that my problem was caused by my
.ghci
file. Once I have renamed it, everything works fine as below.But that makes me unhappy because I can't have colors in my GHCi. However, if I bring it back, IntelliJ-Haskell works badly like the first image.
Are there any options to avoid IntelliJ-Haskell read and use my
.ghci
file? I've tried to move it as.ghc/ghci.conf
but got no luck.