vscode-spell-checker icon indicating copy to clipboard operation
vscode-spell-checker copied to clipboard

Is there any option to disable spell check during typing (until word ends)?

Open Delgan opened this issue 2 years ago • 2 comments

Hi! I just discovered this extension which is super useful, thanks!

One thing I noticed is that the word I'm typing is intermittently underlined since I haven't finished writing it.

If I'm willing to write "example", underlines will appear when "examp" and "exampl" is typed and disappear with the final "e".

This is a bit distracting and I guess it consumes resources unnecessarily.

I was wondering if it was possible to execute the spellcheck only when the cursor leaves the current word or when a \W character is written?

Delgan avatar Oct 21 '21 14:10 Delgan

At the moment, that isn't possible.

It is possible to tell it to check only after you have stopped typing for a couple of seconds.

In VS Code Settings: spell check delay controls how long it will wait. A value of 2000 might be a good option.

image

Jason3S avatar Oct 29 '21 08:10 Jason3S

Thanks for the tip @Jason3S!

Do you think that optimizing the spell check for the word being written is feasible (I don't know the VSCode Extension API) or even desirable (perhaps too complex for too little benefit)?

If not, feel free to close this ticket. The "Spell Check Delay Ms" workaround seems good enough for me. :+1:

Delgan avatar Oct 30 '21 11:10 Delgan

The extension does not have access to what the user is typing, just the edits to the file, so detecting the "end" of the word is difficult.

I'll close this for now.

Jason3S avatar Nov 11 '22 14:11 Jason3S

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Dec 12 '22 05:12 github-actions[bot]