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

.cspell.json not recognised in VSCode notebook editor #282

Open
mmikhasenko opened this issue Apr 25, 2022 · 2 comments
Open

.cspell.json not recognised in VSCode notebook editor #282

mmikhasenko opened this issue Apr 25, 2022 · 2 comments
Labels
🐛 Bug Something isn't working 🖱️ DX Improvements to the Developer Experience

Comments

@mmikhasenko
Copy link

Code Checker in VS code does not find .cspell.json by default.

It seems to be looking for the cscpell.json (no dot) according to
https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker

likely, the solution is to add the right name to the vs code config, but I have not figured out what

@redeboer
Copy link
Member

Thanks for reporting.
I also had some problems with this recently. I have the impression it only happens in notebooks, when viewing them with the Jupyter editor. If you open them with the text editor, the problem does not arise.

@redeboer
Copy link
Member

Yes, this indeed seems to be a problem specific to WSL. The VSCode Jupyter editor does recognise the cSpell config on Ubuntu.

Renaming the config from .cspell.json to cspell.json also doesn't seem to fix the problem. I have the impression that the VSCode Jupyter editor does not recognise it 'lives' in the workspace folder and searches somewhere else for the config.

@redeboer redeboer changed the title docs: cspell in vscode .cspell.json not recognised in VSCode notebook editor Apr 25, 2022
@redeboer redeboer added the 🖱️ DX Improvements to the Developer Experience label Apr 25, 2022
@redeboer redeboer self-assigned this May 10, 2022
@redeboer redeboer added the 🐛 Bug Something isn't working label Mar 2, 2023
@redeboer redeboer transferred this issue from ComPWA/compwa.github.io Jan 20, 2024
@redeboer redeboer removed their assignment Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working 🖱️ DX Improvements to the Developer Experience
Projects
None yet
Development

No branches or pull requests

2 participants