-
Notifications
You must be signed in to change notification settings - Fork 347
Guess working directory from hs-source-dirs? #191
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
Comments
Your suggestion is totally sensible, here's the current state:
This is something we definitely need to tackle sooner or later, but right now it seems to me we need an external tool for that (using the PS: This issue slightly related to #180 |
I am using haskell-mode 13.7 from http://marmalade-repo.org/packages/haskell-mode, and things almost work: It would be nice if this could be fixed, as it is, the current feature is next to useless for lots of packages out there, which is a pity for such a useful thing. |
When using |
In the somewhat related issue #180 it was hinted that I'm closing this issue, if I misunderstood something write a comment or reopen. |
How is |
@svenpanne: I do not understand your question. Can you elaborate? |
I imagine the large majority of projects using Cabal tend to have a single directory under which all their source files are placed, such as
$PROJECT_ROOT/src
. Given this, doesn't it make sense to try guessing the current directory based on the required cabal propertyhs-source-dirs
when starting a new project?Apologies if this is a bad suggestion as I'm not familiar with best practices when it comes to packaging Haskell code.
The text was updated successfully, but these errors were encountered: