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

No language available on Windows10 #194

Closed
HB25 opened this issue Aug 7, 2018 · 7 comments
Closed

No language available on Windows10 #194

HB25 opened this issue Aug 7, 2018 · 7 comments

Comments

@HB25
Copy link

HB25 commented Aug 7, 2018

After installing, Spell Right does not show any language but only "Turn Off".
OS is Windows 10 with English US and German installed, VS Code version info below.

Setting global.SPELLRIGHT_DEBUG_OUTPUT = true; does not output anything in the debug console so I don't know what else to provide to analyze.

Visual Studio Code
Version: 1.25.1
Commit: 1dfc5e557209371715f655691b1235b6b26a06be
Date: 2018-07-11T15:43:53.668Z
Electron: 1.7.12
Chrome: 58.0.3029.110
Node.js: 7.9.0
V8: 5.8.283.38
Architecture: x64

@bartosz-antosik
Copy link
Owner

Sadly, I have had a similar situation in the past, but I have not found any resolution. Please have a look at #106 and #53. It is even noticed in README (see Known Issues).

Sorry about this but it seems outside of the extension.

Could you try whether it works on some other machine?

The only advice which works I had is that it is possible to use Hunspell Backend with dictionaries downloaded like in Windows 7 where there is no built in spelling API.

@HB25
Copy link
Author

HB25 commented Aug 8, 2018

Okay, I saw #53 but not #106. Last one helped me to get the console output but that does not help I guess (it's below).

I have not found any additional information about policy settings or registry entries which could help. I try another machine later. My PC is quite new.

As soon as I copy the hunspell files to the Dictionaries directory I can select that language.

--
log.ts:159 INFO no standard startup: not the explorer viewlet
console.ts:136 [Extension Host] [spellright] Bindings: "spellchecker-win32-1.7.7-x64.node".
console.ts:136 [Extension Host] [spellright] Activated (win32, x64).
console.ts:136 [Extension Host] [spellright] Dictionaries path: "C:\Users\xxxxx\AppData\Roaming\Code\Dictionaries"
console.ts:136 [Extension Host] [spellright] System locale: "de_DE", set locale: "".
console.ts:136 [Extension Host] activating extension
console.ts:136 [Extension Host] starting language server

@bartosz-antosik
Copy link
Owner

Do I understand correctly the you CAN use the extension with hunspell dictionaries?

This requires setting an environment variable (SPELLCHECKER_PREFER_HUNSPELL=1) - have you done this?

@HB25
Copy link
Author

HB25 commented Aug 8, 2018

No, I did not do anything else. Just copied the files into the AppData\Roaming\Code\Dictionaries directory and it worked without even restarting VS code.

I also double-checked the environment variables but there is nothing with this or a similar name.

@bartosz-antosik
Copy link
Owner

That is strange. It means the back-end has decided it cannot detect speller and switched. I will investigate it further but I am happy it works for you this way.

@HB25
Copy link
Author

HB25 commented Aug 8, 2018

I could only select the language. Spellchecking did not work until I added the SPELLCHECKER_PREFER_HUNSPELL=1.

Before this, I saw only the same effect that kubics commented in #106 on Jan 8: "Adding dictionary.." and other messages on every keypress. No idea if that means something.

@bartosz-antosik
Copy link
Owner

I will close this thread for now. Hope one day it happens on my machine so that I can debug the problem properly.

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

2 participants