Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dandv opened this issue May 21, 2024 · 1 comment
Open

Comments

@dandv
Copy link

dandv commented May 21, 2024

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

@dandv dandv changed the title Spell checking in Jupyter notebooks should ignore method names in code cells Spell checking in Jupyter notebooks should ignore certain names in code cells May 21, 2024
@Nahor
Copy link

Nahor commented May 25, 2024

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants