Feature request: Trigger spell check on file save option #2975
charnou
started this conversation in
New Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to propose a new feature that I believe would greatly improve productivity and usability of the Code Spell Checker extension.
The current implementation, even with the delay setting, doesn't provide full control on when the spell check gets triggered. If I set a short delay, I find spelling error prompts appearing in real-time as I'm typing, which can be quite distracting since it is evident that I haven't finished typing a particular word or variable name. On the other hand, when I set a longer delay, I am then obliged to wait for an extended time before being able to spot and rectify spelling errors, which disrupts my workflow. Therefore, I noticed myself navigating away from lines or files where spelling errors were present but weren't highlighted due to the prolonged delay.
My proposition is to include a feature to trigger the spell checking only when I save a file or files. This can give me an immediate feedback loop where I could write some code, save it, identify and correct errors, and proceed further. This method would cause fewer distractions and disruptions user workflow. Besides, it would give a complete control over when to run the check and fix errors.
The spell check trigger feature could perhaps be configured with an option called something like cSpell.trigger, with possibly values being auto (default, the current behavior) and onSave (the proposed feature).
Thank you for considering this feature. I believe it could greatly enhance the user experience for myself and many other users of the extension.
Beta Was this translation helpful? Give feedback.
All reactions