Hey, thanks for the report. A couple things to try:
Run Cursor from the command line with extensions disabled to rule them out:
cursor --disable-extensions
If the lag disappears, one of your extensions is causing it. You can narrow it down by enabling them one by one.
If it still lags without extensions, open the Process Explorer (Cmd + Shift + P > Developer: Open Process Explorer) while typing in the commit box, and share a screenshot of what’s using CPU.
Also, about how many changed files do you usually have staged when you notice this? And how big is the repo?
I’m having the same issue. Unfortunately I can’t really disable extensions in my use case as I develop in devcontainers and need the Dev Containers extension to do so.
I did disable all features and extensions in my devcontainer and still found the issue to be present.
Interestingly though, the issue disappears the moment I open the Process Explorer window. I’ve tried this multiple times, and given Cursor enough time after starting to ensure it wasn’t a coincidence. I’m able to type normally in the commit message box the moment I open the Process Explorer window.
After further testing it actually seems that it’s the moment I open the Command Palette that it fixes the laggy input, not when I open the Process Explorer. I reenabled all features and extensions in my devcontainer and found the same behavior. The laggy input in the commit message box disappears after opening the Command Palette for me. Could work as a temporary workaround until the issue is resolved @paulmontreal .
@deanrie did you catch the comment on this from @celestialorb ?
simply clicking in the top panel where the command palette opens fixes the huge lag bug in commit message box. might give your guys some clues as to what the bug is.
Yes, I saw it. Really helpful find from @celestialorb. The fact that the lag goes away after opening the Command Palette is a great clue for debugging.
I had to restart the cursor everytime, after this lag issue. Its really annoying and frustating when you finish the work and try to commit the changes with that lag. Hopefully the restart was fixing the issue but this is really helpful @celestialorb Thanks.