-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
file.autoSave = afterDelay
causes cursor to jump around with very low delay time
#240521
Comments
This is happening for me with Auto Save Delay above 600ms, to be more specific, 1000ms. |
If this is a confirmed regression, it would help to know which change caused it. We maintain a node.js based CLI tool Steps:
Thanks! |
@bpasero the bisect tool was unable to find the issue. I'm not sure what this means/implies, but for my normal workspace, the troublesome configuration is located in the User settings (%appdata%\Roaming\Code\User\settings.json). This location did not seem to affect the builds opened by the bisect tool, so I copied the settings to the .vscode/settings.json file. |
Hey, just a quick follow up. Extensions uninstalled:
So I don't really know now if any of these could cause any problems. Ps: |
@caiodutra08 I do not have any of those extensions. As noted in the original post, disabling all extensions did not resolve the issue. Is there a functional difference between disabling and actually uninstalling the extensions? I wouldn't think so. |
I don't think so... but uninstalling, stopped with this weird jumparound. |
I made a rollback to the previous version, and updated again, and its working fine now... |
How'd you do the rollback? Maybe a stupid question, but I legit don't think I've ever had to rollback software before somehow. |
First I synced in and saved all my data/config, then made sure to remove VSCode by it all. |
/gifPlease |
Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording ( Happy coding! |
Thanks, I would not clear steps how to reproduce this from a fresh setup so I can diagnose what issue this is and if a fix can be made in core. To begin with: Can you try to run |
@bpasero I am not experiencing the issue in the fresh VSC instance. I will not post a gif of the issue (unless requested) as @caiodutra08's gif is exactly what I'm seeing. |
Yep, me neither. |
Same here, it jumps randomly every few seconds. 💔 |
If it does not reproduce in a fresh user data dir, then it is either caused by an extension or by setting. Again, I need clear instructions for how to reproduce and not videos at this point. |
Hi, I also have this issue. The cursor jumps back randomly while typing. But the symptom happens more frequently over the Remote plugin, via an SSH link, whose delay is about 100ms. I tried to install the previous version of VS Code, but the symptom persists. I guess it may be related to a certain extention?
Local version:
|
I've just learned a few things:
Through this, I've determined that my initial report that the issue still occurred while extensions were disabled (or so I thought) was incorrect. The extension bisect tool has revealed that the EditorConfig extension was causing the problem, and indeed there is already an issue for this. |
As of the latest update, the
file.autoSave
setting causes the cursor to jump around when set toafterDelay
with a very low delay time. Typically I have myfile.autoSaveDelay
set to an admittedly absurd/unnecessary 100ms, but this effect is noticeable up to at least 500ms. Obvious workarounds are to disable auto save or turn the delay up to at least 600ms.To be more specific about the "jumping around," at least if I'm still on the same line, the cursor will jump backwards by a few characters, presumably to the last character I'd written before the autoSave was initiated.
Does this issue occur when all extensions are disabled?:
YesNoThe text was updated successfully, but these errors were encountered: