Haskelly
Haskelly copied to clipboard
Normalize Stack paths for Intero to recognise module
Stack requires folders inside the src directory to start with capital letter, although it internally sanitises them if that's not the case. However, Intero doesn't work with folders which don't follow this requirement. We could internally also capitalise the path before sending it to the intero :complete:at and :type-at commands.
I'd just like to say, this is still a real and painful issue. I spent the past 3 or so hours installing and reinstalling haskell; googling obscure keywords relating to haskelly, intero, and haskell; and rebuilding my directory structure more time than I want to count. And finally, after all that time, the issue was folder capitalization.
Perhaps put some warning either on the readme or extension page, as this is less obscure of an issue than you probably think it is.
Hello @Jerald, thanks for your message. We'll edit the Readme to make that more clear.
The Readme now includes a warning about this right next to the Stack installation instructions.