Haskelly icon indicating copy to clipboard operation
Haskelly copied to clipboard

Normalize Stack paths for Intero to recognise module

Open martrik opened this issue 8 years ago • 3 comments
trafficstars

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.

martrik avatar Feb 02 '17 11:02 martrik

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.

Jerald avatar Mar 12 '18 07:03 Jerald

Hello @Jerald, thanks for your message. We'll edit the Readme to make that more clear.

martrik avatar May 11 '18 09:05 martrik

The Readme now includes a warning about this right next to the Stack installation instructions.

martrik avatar May 11 '18 10:05 martrik