Open NightRa opened 9 years ago
Agreed. There is a way to get it to work now, though. You can do this by using cabal get
. I usually create a lib
dir and just put the sources there. However, true codex (or similar) integration and support would be really nice.
Now that I'm implementing stack support, I'm wondering how this would work with stack. Possibly we could still use cabal get
, but I'd be worried about how it may affect the stack project, as well as requiring the user to have a cabal
executable configured.
If anyone knows of a way to use stack (or similar tooling) to achieve this without cabal, that'd be great. All we need to do is be able to download the library sources. The IntelliJ indexer will take care of the rest.
stack unpack
will actually work for this.
Here are step by step instructions: https://github.com/carymrobbins/intellij-haskforce/wiki/Quick-Start-Guide#jump-to-library-sources
I actually tried doing this unpack method. I created a lib
folder and unpacked hspec
and QuickSpec
to it. The GoTo
method will not work for these libraries.
A feature I really miss in Haskell IDEs is jumping to the source of functions outside the project. This can be acheived via the
codex
package.