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

Problems with user dictionary file #586

Open
allefeld opened this issue Aug 25, 2024 · 1 comment
Open

Problems with user dictionary file #586

allefeld opened this issue Aug 25, 2024 · 1 comment

Comments

@allefeld
Copy link

I added words to the user dictionary with the command "Add Selection to User Dictionary", and then used the command "Open User Dictionary File". This results in a message "User dictionary file does not exist. It will be created when first word is added." This suggests the words I added were not actually saved.

I also tried to find the file, which according to the description should be in the "user settings folder", which I believe on Linux is ~/.config/Code/User, but there is no spellright.dict file there. If I create it myself, "Open User Dictionary File" works, but it remains empty no matter how many words I add via "Add Selection to User Dictionary".

The only thing I found which does work is to add the words manually to ~/.config/Code/User/spellright.dict.

Spell Right v3.0.136, VS Code 1.92.2, Debian 12.6

@allefeld
Copy link
Author

I now found that the problem goes away when I uncheck "Add To System Dictionary" in the extension settings, which seems to imply that in all operations, "user dictionary" is treated as meaning "system dictionary". But if so, ""Open User Dictionary File" should open the system dictionary file.

Moreover, I'm not aware of a general system-wide or per-user list of custom words on Linux. Where would that be?

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

1 participant