Skip to content
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

Slow down vscode UI typing response. #3862

Open
HuazyYang opened this issue Nov 30, 2024 · 2 comments
Open

Slow down vscode UI typing response. #3862

HuazyYang opened this issue Nov 30, 2024 · 2 comments

Comments

@HuazyYang
Copy link

When user is typing with spell-checker enabled, UI response is much slow relative to extension disabled, any way to tune spell checking frequency when user is typing or just use lazy checking when file modifcation changed?

@Jason3S
Copy link
Collaborator

Jason3S commented Dec 3, 2024

@HuazyYang,

It is possible to control the delay using: cSpell.spellCheckDelayMs. Changing it to 500 or 1000 might make things better.
image

The spell checker should not have a noticeable impact on the UI. If possible please share your configuration. Please consider restarting VS Code to see if it still happens.

Please provide the following information:

  • What is the file type of the documents that are slowing the editing down?
  • Did you add any RegExp patterns, cSpell.ignoreRegExpList or cSpell.includeRegExpList settings?
  • How big are the files you are editing?

There are a few cases where it can happen:

  1. If spell issues do not show up, it is possible that the extension didn't install correctly -- this generally gives an error, but it can also just be slow.
  2. Expensive regular expressions.

@Jason3S
Copy link
Collaborator

Jason3S commented Dec 18, 2024

@HuazyYang,

I would like to find out the cause. Do you have any more information?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants