-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
Modules in subdirectories are looked for with the wrong path. #498
Comments
Looks like a bug in
This path is wrong. |
yeah, and probably an explicit hie.yaml file will make it work, while we fix implicit-hie |
Writing an explicit hie.yaml file "fixed" the problem indeed. Weird I don't mention the folder Dir there.
|
@nerfingen that is right, |
Hopefully it will be fixed by Avi-D-coder/implicit-hie#22 |
Use implicit-hie-0.1.2.0 to get the fix for #498
Subject of the issue
I have a small stack project of the form:
If I try to use the haskell-language-server to get information about Func.hs I only get the message:
It seems to look for the file
Dir.Func.hs
instead ofDir/Func.hs
. Even though the GHC Userguide section 6.8.1 says:Your environment
haskell-language-server --probe-tools
orhaskell-language-server-wrapper --probe-tools
haskell-language-server-wrapper --debug
.stack.yaml
package.yaml
*.cabal
filescabal.project
hie.yaml
Steps to reproduce
Make a similar small stack project with a module in a subdirectory. Then run
haskell-language-server-wrapper --debug
.Expected behaviour
It should give print analyitcs to all modules (and debug information).
Actual behaviour
For modules in subdirectories it only outputs the error message from above.
Include debug information
Execute in the root of your project the command
haskell-language-server --debug .
and paste the logs here:Debug output:
Paste the logs from the lsp-client, e.g. for VS Code
LSP logs:
The text was updated successfully, but these errors were encountered: