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

All words spelled incorrectly, no suggestions #264

Closed
treb0r opened this issue Apr 1, 2019 · 5 comments
Closed

All words spelled incorrectly, no suggestions #264

treb0r opened this issue Apr 1, 2019 · 5 comments

Comments

@treb0r
Copy link

treb0r commented Apr 1, 2019

I am trying to configure Spell Right for VS Code on Ubuntu.

I have followed the install instructions and downloaded the dictionaries.

I see the status bar asking me the default language, and I can select English (British).

All words are underlined in red, no suggestions showing.

I've tried reinstalling, restarting VS Code and replacing the dictionaries.

What am I doing wrong?

@bartosz-antosik
Copy link
Owner

Hi! It is hard to tell. I have it running on Ubuntu (Kubuntu to be precise). Maybe it is some security mechanism - could you have a look in the logs?

kubuntu

@treb0r
Copy link
Author

treb0r commented Apr 2, 2019

Thanks for the reply!

Nothing in the logs.

I'll keep looking for a solution and will post it here if I find one.

@bartosz-antosik
Copy link
Owner

I have been thinking about the situation for some time and I could pose few questions if only you are still interested in using the extension (I would perfectly understand if you would switched to any other if it would just be working for you).

You can switch the dictionaries in the status (if you have more than one) bar and thir names are read correctly?

You have verified that the dictionaries look ok inside (both dic and aff files) and they are UTF? Have you downloaded the dictionaries from the source provided in the README file?

Is there maybe a chance you could test this on another machine? Just to see if this is a regular or incidental error (possibly bound to particular configuration etc.)

I have tested this here and there on Virtual Machines and it seems to be working ok.

@joelhans
Copy link

joelhans commented Apr 5, 2019

I was having this exact same issue and I just found a solution that worked for me.

When I downloaded the .aff and .dic files from this link in the documentation, they were named English (American).aff and English (American).dic, respectively. I wondered if maybe the space and/or parentheses could be causing an issue.

I renamed the files English.aff and English.dic and the issue disappeared right away. I tested a bit and it seems like the parentheses are the issue. Everything works as expected now. I hope this helps solve your issue, too!

I'm on Fedora 29. Used the dictionary files from that GitHub repo linked above because those that come with hunspell on my system are ISO8859-1, not UTF.

@treb0r
Copy link
Author

treb0r commented Jun 6, 2019

Hey @joelhans sorry for the late reply. This fixed my issue, thanks!
...and thanks for a great spellchecker @bartosz-antosik !!

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

No branches or pull requests

3 participants