-
Notifications
You must be signed in to change notification settings - Fork 37
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 #53
Comments
What is displayed in the list of available languages (F1 -> `SpellRight: Select Dictionary (Language)')? |
I can only say "Turn off". No language is listed |
Is this regular or insiders build of VSCode? Could you maybe post VSCode's complete version information? |
Could you please find file extension.js (should be in c:\Users{USER}.vscode\extensions\ban.spellright-1.1.22\src) then change: global.SPELLRIGHT_DEBUG_OUTPUT = false; to global.SPELLRIGHT_DEBUG_OUTPUT = true; restart VSCode and after a while something like this should appear in the DEBUG CONSOLE: SpellRight bindings: "spellchecker-win32-1.6.6-x64.node". Object Array[23] |
Hm nothing appears in the Debugging-Console for me when I change global.SPELLRIGHT_DEBUG_OUTPUT to true. |
But you have restarted VSCode? It won't affect any sooner. |
Yes I tried it multiple times with different files etc. Completely restarted VS each time. I also made sure the task isn't running in the background. |
Thanks, sorry I have reminded this. This looks mysterious to me. Is this a first time you have installed the extension on this machine or has this state changed recently? |
No it's the first time. I've used Sublimetext before because I wasn't able to install extensions at all due to a proxy. Now I'm able to and use my prefered editor VS Code. I'm still using a proxy btw. but I figured how to configure it. Could this be a problem maybe? |
I don't thin proxy would have anything to do with this. But! SpellRight uses native module - this is binary module that e.g. connects to the system spelling API on Windows 10. Maybe your system has some sort of limitations here: Antivirus software? Corporate policies? Maybe a peek to the system event log? |
Hm I just went to a coworker who also uses VS Code. He installed spell right and it works just fine for him. We are in the same network with the same limitations. I looked in the system event log. There is one Application Error from code.exe and one "Windows Error Reporting". Not really sure what these say. But nothing specific. I could still post the content if you want me to. But I can't trigger any event just by starting VS Code. |
I just noticed when I tried to reinstall your extension that it doesn't really work like it should. The "Restart" button won't appear so I guess the uninstallation does not finish? |
No, do not post anything if you are not convinced it is related. I really, rally would like to help but feel confused. No one reported anything even remotely similar. |
Could you maybe check please whether the files in: c:\Users{USER}.vscode\extensions\ban.spellright-1.1.22\lib\bin have installed successfully? There should be something like this: spellchecker-darwin-1.6.6-x64.node |
Okay thank you very much so far. Guess I will try to reinstall VS Code and see if this helps. Oh I did not send the comment. Yes I looked it up - all the files are present. |
I will close it for now, post to this thread and I will reopen it shall any more facts surface. |
Just out of curiosity - maybe there are some news regarding this issue? Have you tried to reinstall VSCode? Have it changed anything about extensions not working state? |
I reinstalled VS Code and tried the Insider version but it's still not working :/ |
Hi! Thanks for searching for similar issue and reporting it. I will have to test i with portable version as to say the truth, I did not. |
@bartosz-antosik, did you get a chance to look into this more thoroughly? |
Yes I had. It has been hopefully resolved. Just some testing on other systems (Linux) is required to be sure that that is the way to go. So in few days it should be done. BTW. There is a workaround: Just put your dictionaries in: c:\Users{user-name}\AppData\Roaming\Code\Dictionaries |
The very reason to use portable editions is to avoid polluting |
Yes, of course I understand this. I am just saying, that this would be a workaround. Version 2.0.12 should work for you. Please give it a test and let me know. This is however hacking, as VSCode does not give any reasonable way to get User Settings location, (which would work in both portable and installed versions) which is a base for finding the location of the folder you attempted to use. |
I see the dictionary’s name in status bar, but words with mistakes are not emphasized. Why? Settings are as follows
|
Are you sure the dictionary is UTF-8? (see notes on this in README.md) Could you maybe try with some more "classic" dictionary from the link in README.md? |
Please stand by. Something is wrong. Your dictionary seems ok. I have tested this but it seems something is not ok. |
Yes, I see it does work, although it's not obvious, They may however use some different (e.g. patched) version of hunspell. This is strange about British dictionary not working. It works for me: Could you maybe try with "English (American).dic" so we would have some common ground? |
I assume it is related to how path hack (6993ae7) is implemented. Put VSCode into subdirectory, which name contains non Latin chars, i.e. |
I will have a look at this later, but I strongly suppose it is again Hunspell's issue. The library I relay on (node-spellchecker) uses Hunspell implementation which is quite old and there is no traction towards updating it and I am really to little to do this on my own, as it requires building/testing on a couple of platforms. |
If it shows the dictionaries in VSCode's status bar/quick list then it looks like non Latin paths are OK for me but passing them to Hunspell causes problems. Sorry about that but I am afraid the above holds. |
I have the same problem in Linux Mint 20. |
I can't choose any language at one of my PC's for some reason. It's working properly on my main one tho.
I tried to add other system languages but these also don't show up.
I'm using Windows 10. Latest version of everything.
The text was updated successfully, but these errors were encountered: