-
-
Notifications
You must be signed in to change notification settings - Fork 391
Hover on inner signature gives confusing information #767
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
As discussed in the PR with the tests (#311), hovering on top-level signatures currently does nothing, so for the sake of consistency we should do one of:
|
In summary, the conclusion we reached in haskell/ghcide#311 is: hover and gotoDef on both inner and top-level signatures should point to the first clasue of their corresponding definitions. The tests merged in haskell/ghcide#311 reflect this decision. |
Tests were moved to hls and there are here: haskell-language-server/ghcide/test/exe/Main.hs Lines 4011 to 4012 in 2e59c60
With hls-1.5.2 i got
So it seems to me that outer is right and no broken, as stated by the test |
Checking both tests in #2435, i would expect the outer one should be ok and the inner fail |
* Enable outer/inner hover signature To check the status of #767 * Change position for top-level signature And mark as broken inner one
Hovering on the signature of
inner
in the following sample, gives the signature ofouter
. Hovering on the definition ofinner
gives the correct signature ofinner
.Tests in haskell/ghcide#311.
The text was updated successfully, but these errors were encountered: