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

cSpell doesn't ignore known symbols? #273

Open gandalfsaxe opened 6 years ago

gandalfsaxe commented 6 years ago

E.g. why do I get an error on chdir and getcwd as shown below? Shouldn't this be known symbols after importing os in python?

image

Jason3S commented 6 years ago

I'm working on a way to fix this, but at the moment, the spell checker is not aware of imports. The solution has been to add the library methods to the python dictionary.

The longer term solution is to make the spell checker aware that it is an import.

fordp2002 commented 5 years ago

This would be great. I am regularly having to add library symbols to my dictionary.