You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately I'm still seeing this issue with v2.0.7 of the extension.
I think I have a fairly vanilla setup on Windows 10. No insiders builds. I have a simple single-root workspace. I tried to add a word to the workspace manually using the settings editor, and that worked, but if I use either RMB - > Add Words to Folder Settings QuickFix, or the lightbulb to access QuickFix, I get the Unable to add "{word}" error.
Here is the content of my *.code-workspace file. It is just in the folder root (not a .vscode subfolder), which is where Code prompted me to save it. Perhaps the relative path and lack of an explicit folder name is a problem.
The issue appears to be related to the new "Jupyter Notebook" editor. The file in question was a *.ipynb (Jupyter Notebook) file. If I right-click this file in the File Explorer, do "Open With" and choose the "Text Editor" to open the file, then "Add Words to Folder Settings" and "Add Words to Workspace Settings" both work properly.
It appears likely related to something here, which the (kick ass BTW) cSpell extension may not quite be inter-operating with yet.
When I have a *.ipynb file open in the Jupyter Notebook editor, I don't get the "Add Words to Workspace Settings" option, even though I do have a workspace open in VS Code.
(This may be by design). If I work within the text editor, once I've successfully done "Add Words to Folder Settings", which creates a .vscode/settings.json file, the existence of that file shadows the "cSpell.words" in my *.code-workspace file. Words are added to that field as requested, but cSpell ignores the whitelist in the *.code-workspace file. It appears to fallback to a the unions of the whitelists in ..\vscode\settings.json and .\cSpell.json, but skips the works in the *.code-workspace file.
Issues Adding Words from Jupyter Notebooks
Original comment
_Originally posted by @ryan-feeley in #1341 (comment)
Unfortunately I'm still seeing this issue with v2.0.7 of the extension.
I think I have a fairly vanilla setup on Windows 10. No insiders builds. I have a simple single-root workspace. I tried to add a word to the workspace manually using the settings editor, and that worked, but if I use either RMB - > Add Words to Folder Settings QuickFix, or the lightbulb to access QuickFix, I get the Unable to add "{word}" error.
Here is the content of my
*.code-workspace
file. It is just in the folder root (not a .vscode subfolder), which is where Code prompted me to save it. Perhaps the relative path and lack of an explicit folder name is a problem.More Context
Originally posted by @ryan-feeley in #1341 (comment)
The issue appears to be related to the new "Jupyter Notebook" editor. The file in question was a
*.ipynb
(Jupyter Notebook) file. If I right-click this file in the File Explorer, do "Open With" and choose the "Text Editor" to open the file, then "Add Words to Folder Settings" and "Add Words to Workspace Settings" both work properly.It appears likely related to something here, which the (kick ass BTW) cSpell extension may not quite be inter-operating with yet.
Native Notebook Support in VS Code
Notebook API
Two other observations:
*.ipynb
file open in the Jupyter Notebook editor, I don't get the "Add Words to Workspace Settings" option, even though I do have a workspace open in VS Code..vscode/settings.json
file, the existence of that file shadows the "cSpell.words" in my*.code-workspace
file. Words are added to that field as requested, but cSpell ignores the whitelist in the*.code-workspace
file. It appears to fallback to a the unions of the whitelists in..\vscode\settings.json
and.\cSpell.json
, but skips the works in the*.code-workspace
file.Originally posted by @ryan-feeley in #1341 (comment)
The text was updated successfully, but these errors were encountered: