-
Notifications
You must be signed in to change notification settings - Fork 84
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
Double indication of values used from opens_codelens causing view scrolling off-by-one erro #228
Comments
Yeah, this happens when you have an error in your file, so analysis is temporarily disabled until the error is resolved. From your screenshot, you have an error on line one, and so the codelenses won't be correct. |
This is slightly off topic, but the error on line 1 is "Unbound module Buckle" which seems odd to me. Probably my setup is wrong. |
I found that I needed to |
This is really painful. Another video of the issue: https://www.rightthisminute.com/tools/jw/videos/atAB8f2x/play?force_hq=1 Running |
|
i was searching for an issue i have, which you just described in that quote, i think. Is it possible to keep on showing codelens even if there is an error? cause thats actually the most needed time and all lenses are just shutdown :( If you wish, i file a separate issue for this, cause its not really related to this one. |
When "Indicate what values have been used from an open" is checked in the settings (under
Reason_language_server: Opens_codelens
section of vs code settings) I get one line and one extra line in my code showing the values that theopen
adds to a file. The extra line seems to result in a miscalculation of how many lines are in the file, which results in (an annoying) off-by-one error that scrolls the view unnecessarily by one line whenever I type a key.In case it helps, this is the
Float
module that I reference in theUtils
parent module above:This is what the off-by-one error does when editing the file (37 sec. video):
https://www.dropbox.com/s/tsp22oawsqubyfq/OffByOne.mp4?dl=0
(Each keypress, after a few hundred milleseconds debounce, results in the view scrolling by one line).
The text was updated successfully, but these errors were encountered: