-
-
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
Follow definitions across local packages #799
Comments
In principle we have the logic for that already if there are
I think 1 and 2 probably need to come from |
I've just checked this one in haskell-lsp and it is not implemented yet. |
Hi, i've tested it out again with haskell-lsp and haskell-lsp-types and it works. However you must open a file from the dependant package (haskell-lsp-types in this case) before being able to jump from the dependent package (haskell-lsp). |
No success with ob init, ob shell, vscode with haskell plugin. I also tried to write a minimal multi-project setup, but the feature does not work and I get this error:
Since I am a bit lost in the haskell packaging, it is very probable that my fixture is wrong though. Steps to reproduce my attempt:
|
@JosephLucas i am not using nix, but i will try to reproduce in my env with that zip |
With the inclusion of hiedb go to definition has been improved (see #704) |
I just did it with my fixture and I keep getting the same error, while using haskell-language-server-1.0.0-linux-8.6.5. |
@JosephLucas
so no hls feature could work. It seems you should use the package name
and fixing module A where
a :: Int
a = 1 ...the project builds succesfully. After opening |
I can confirm that it works. Well done :) You can close this issue. |
Does ghcide plan to implement a feature to follow definitions across local packages ? That would be really helpful for projects built with obelisk (reflex-frp).
The text was updated successfully, but these errors were encountered: