-
Notifications
You must be signed in to change notification settings - Fork 37
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
Large files are unusable in the code editor #3786
Comments
i fear this touches a few things |
I highly doubt it is any of the codemirror code tho, or plugins since none of those changed in the electron port and now all of a sudden its doing this, which makes me lean towards react |
isnt happening in the browser for me |
actually finding it hard to repro on the latest build off the main branch on desktop too, but let me try a larger model |
okay yep its large files |
try the server rack |
Screenshare.-.2024-09-05.1_29_06.PM.mp4 |
If it's large files, my gut guess would be that we're maybe parsing the code on cursor moves when we should only do that on actual text change, and that's blocking the main thread. |
Likely something the react profiler will help fix because this feels like the main thread is getting blocked.
Notice the key spam but the cursor moves in jumps.
Screen.Recording.2024-09-04.at.7.53.19.PM.mov
The text was updated successfully, but these errors were encountered: