-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking cabal executables #28
Comments
I believe this has the same root cause as commercialhaskell/stack#347 While this isn't mentioned there, one thing to try might be to add an |
I have the same issue when writing tests (really sucks for TDD). I'm on emacs and stack-mode properly load my tests module either when I run Since commercialhaskell/stack#753 I've been able to run |
For the moment, I am adding an other-modules list for the executable to workaround this, works for me. |
I added support for this in |
as usual, big thanks ! |
So does stack-ide only support |
No, it just needs a way in its UI to disambiguate Main modules between components. |
Closing as dupe of #63 which describes the point accurately. |
I noticed that stack-ide doesn't seem to track files in executable targets (i.e. when I run
stack ide myproject
it only compiles/reports errors for the "library" section of the cabal file). Is there a way to do this?(including test-suites would be great too)
The text was updated successfully, but these errors were encountered: