streetsidesoftware / vscode-spell-checker

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

Spell checking in Jupyter notebooks should ignore certain names in code cells #3284

Open dandv opened 1 month ago

dandv commented 1 month ago

Continuing #420 - I use the extension in Cursor. It spell checks Markdown chells correctly, but in Python code cells, method names and named arguments are underlined as errors:

image

Nahor commented 1 month ago

I'm not sure what you're actually asking: disabling spellcheck in the code cells entirely, or ignoring spellcheck error in the code part of the code cell but keep it for comments.

If it's the latter, the problem is that the extension currently can't distinguish between external/3rd-parties "words" (which ought to be ignored) and typo in the code itself (which should be warned about). Maybe the issue I opened a few weeks ago (#3243) could help with that (depending if there is a language server involved in jupyter notebooks, or not).