sgwilym / nova-deno

A Deno extension for Nova.
https://extensions.panic.com/extensions/co.gwil/co.gwil.deno/
MIT License
13 stars 1 forks source link

Language Server crashes unpredictably #25

Closed belcar-s closed 2 years ago

belcar-s commented 2 years ago

I don't know whether this is my fault. It would certainly be very strange, but I've only noticed it after my changes were integrated.

The extension's features are unpredictably disabled every so often. They don't come back until the extension is restarted (by disabling it and enabling it again).

This is, I assume, the error message:

-32600 Invalid request

Nova displays it alongside a red octagon in which there's an exclamation mark: Screen Shot 2022-05-02 at 3 06 25 PM

belcar-s commented 2 years ago

I recorded this happening:

https://user-images.githubusercontent.com/73370025/167738077-acfd579e-1f94-4682-8a93-e18901929ca1.mp4

https://user-images.githubusercontent.com/73370025/167738085-91c7cdc7-b574-43b4-8d1b-63e490f1a22d.mp4


A new error:

Screen Shot 2022-05-10 at 18 21 53
belcar-s commented 2 years ago

I think this happens only during development —not during normal use. It seems the Language Server fails to be loaded after the extension is replaced by a .novaextension version. I'll close the issue.