gayanhewa / vscode-localhistory

Local history for Visual Studio Code Files
MIT License
8 stars 8 forks source link

Lag when typing #7

Open ntarocco opened 6 years ago

ntarocco commented 6 years ago

I am using the extension with default option, and unfortunately it causes "lag" when typing. The cursor literally slows down. Disable the extension solve the issue. I am sure it is this extension because I disabled them one by one until I found it. I am on a very new MacBook Pro.

Do you experience the same issue?

I have the feeling that the listener to onDidChangeTextDocument is firing "too often" causing the slow down.

gayanhewa commented 5 years ago

@ntarocco its possible, but I highly doubt it. When you get a list of history items if it has grown large. Then it could probably cause a lag.

enricodias commented 4 years ago

I faced the same issue and had to disable the extension.

gayanhewa commented 4 years ago

I have moved on from using vscode, so pretty open to review and get a PR merged in if you guys have a fix for the error.