bartosz-antosik / vscode-spellright

Multilingual, Offline and Lightweight Spellchecker for Visual Studio Code
Other
359 stars 36 forks source link

Feature request: skipping spans of text? #563

Open malcolmsailor opened 8 months ago

malcolmsailor commented 8 months ago

Hi, thanks for a fantastic add on that I am making a lot of use of in writing my dissertation.

Have you considered allowing to turn off spell-checking for specific spans of text? (Rather than at the document level.)

I initially thought I could do something like

Correctly spelled text <!-- spellcheck-off --> deliberately misspelled text <!-- spellcheck-on --> more correctly spelled text

but of course, this doesn't work because the -off and -on commands apply at the document level. It would be nice to add something like

Correctly spelled text <!-- spellcheck-skip --> deliberately misspelled text <!-- spellcheck-end-skip --> more correctly spelled text

to allow skipping the specified span.