streetsidesoftware / vscode-spell-checker

A simple source code spell checker for code
https://streetsidesoftware.github.io/vscode-spell-checker/
Other
1.43k stars 128 forks source link

avoid spellings of builtin/third-party imports #299

Open Kieran-Bacon opened 5 years ago

Kieran-Bacon commented 5 years ago

I've been using spell checker primarily on python and js and I've found that its quite undesirable to see the spelling corrections for an external package whose interface, that for obvious reasons, you cannot change.

It tends to break the flow of writing whenever these kinds of errors are highlighted. Maybe this isn't an issue for others, but I am partially colour blind, so I can't really distinguish the indication from a syntax error or etc

Never the less, I think it would be quite feasible to ignore the spell checking of named spaced artifacts. Even if this would come with the negative of having to ignore spelling for all imported modules, I'd still think that it would be preferred. Personally, I'd rather see the spelling corrections for things in the module where they were defined.

kevinkace commented 5 years ago

I think this is the same feature I'm looking for, namely ignoring strings found in package.json (dev) dependencies.

Eg. if I install globby, that shouldn't be a misspelled word.

Jason3S commented 5 years ago

I agree.

aaaandi commented 1 year ago

Are there any updates on this issue?