-
Notifications
You must be signed in to change notification settings - Fork 110
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
Tide-lv-message shows too few fixes. #466
Comments
My current quick fix to make tide function for me currently is this:
For some reason, just adding "\n" at the end does not suffice. |
I did a quick check to see if I can reproduce the issue, unfortunately, I can't. Can you confirm if this is not related to emacs version or other plugins? From your comments, it seems like up to tide-lv-message, everything is good. tide-lv file has not been touched after the initial import from the hydra project, I would need more help from you to debug. Try to debug around |
I can't guarantee it, I guess. But I wouldn't know what could be responsible. I have a feeling it could be a braking change in Emacs 29, though. I printed |
Ok, I played around a bit more with n-lines. Turns out the value of n-lines does not seem to do anything on my system. Even setting it to 10 did not fix the issue. Only when the string has an additional line (and not only a \n at the end but actual content in the last line the window is bigger. Changing the |
From Emacs 29 changelog:
Not sure why this would have the given effect, but it seems that behavior around window-min-height has been changed. |
When submitting issues to this project, please include the following information.
Checklist
M-x tide-restart-server
in the buffer where I had the problem.M-x tide-verify-setup
are correct.tsc
(andtslint
, if applicable) without the error or warning I'm seeing in tide.tsc
(ortslint
, if applicable) reports the error or warning I was expecting to see.typescript-mode
ortsserver
.Relevant Version Numbers
(The list above is minimal. Make sure to include any other version numbers relevant to your report.)
Steps to Reproduce the Bug
I have this code:
useEffect
is not imported. Tide correctly identifies the issue and produces the correct warning/error. I runtide-fix
. Tide only displays this:I checked TS-Server and debugged into tide. TS-server reports two fixes. This patch within tide.el shows that this is clearly a display issue, probably caused by
tide-lv-message
:The modified version prints out this:
Also, using the "s"-key applies the fix.
Expected Behavior
All fixes should be shown by tide-lv
Actual Behavior
Only n-1 (?) fixes are shown.
The text was updated successfully, but these errors were encountered: