Local History stops working

Just updated to this 23.1 RC version and encountered this bug twice in the last few days.
For reasons unknown, the local history stops working correctly sometimes.

WS will get into a state where I can undo exactly once after making changes, but it reverts ALL changes to the file back to its original state since I opened the file. I can't redo to get my changes back, they're just lost and I have to type it all again.
If I open the "Edit" menu the "Undo" and "Redo" options are greyed out. No history is retained.

Workaround: Close WS completely and start it up again, and it will work correctly again. It's not enough to close the project and re-open it via the starting menu. I have to close that too or the bug will persist.


WebStorm 2023.1
Build #WS-231.8109.93, built on March 16, 2023
Licensed to [redacted]
Subscription is active until May 2, 2023.
Runtime version: 17.0.6+10-b829.5 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 16
Non-Bundled Plugins:
    com.github.copilot (
    CMD Support (1.0.5)
    AceJump (3.8.11)
    com.ivanovych666.intellij.plugin.jsonsorter (1.0.0-beta.3.4)

Comment actions Permalink

It must be a problem with copilot. Please follow https://github.com/orgs/community/discussions/49435 for updates

Comment actions Permalink

Thanks Elena!

I struggled to find the root cause, it started failing when I upgraded to WebStorm 2023.1 so I thought this was the culprit, but indeed it was Copilot instead.

Solved the issue to unactivate it.


Please sign in to leave a comment.