-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Extension failed to load VLS on restart #53
Comments
Thanks! @phayz first things first, did you try relaunching VSCode once or twice? And if you look in the folder it mentions, is there a vale-ls file? |
Hi @ChrisChinchilla ...
|
I did another test today to try and recreate the cutover to extension version 0.23.5:
Is there a race condition going on? That is, VS Code is trying to start the extension before the |
@phayz It's all quite hard to test. I may end up just shipping the binaries with the extension, but it feels unnecessary… It's really hard to test this, as I need lots of clean machines. Just to clarify… After your first run, you restarted, and then things worked? On the second run, you had the same problem, did another restart fix it? And yes, it's kind of a race condition, or in the JavaScript world async promises not working quite right. Ideally, it shouldn't need any restarting. but if after a bunch of restarts, you do get things working, could you do some more general testing? That is also appreciated. |
Hi @ChrisChinchilla ... Yes - After first switching to the pre-release version I restarted VS Code and the Vale integration worked as expected. On the second run the very same thing happened, and again the Vale integration started working after restarting VS Code. I'll continue doing general testing. |
Environment
Operating system: macOS Sequioia 15.1.1
VS Code: 1.95.3
Vale version 3.7.1
Vale VSCode extension version: 0.23.5
Issue:
I switched to the pre-release version of the extension and was prompted by VS Code to restart the extension. I did that and on restart Vale reported the following:
I believe there was a message prior which noted that the server could not be started though that's now disappeared.
When I view the output the content is:
The text was updated successfully, but these errors were encountered: