-
Hi there. I'm getting the error in the title and I assume the problem is on my side. My
and I'm launching the server like this:
After initializing with
I send
and get the following:
Help, please! I'm not a Java programmer, I'm just trying to use the language server in a ML project. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi! You're running into #1993. The last time I had a look at it, I noted:
Because I thought that clients were supposed to always send I'll send a PR to fix #1993, but until that has been released, the easiest workaround for you is to just send a |
Beta Was this translation helpful? Give feedback.
Hi! You're running into #1993. The last time I had a look at it, I noted:
Because I thought that clients were supposed to always send
textDocument/didOpen
before sending any other document-related requests (this seems to be how VSCode does it). But I don't know where I got that from, because now that I read the LSP specification again, I can't find any such requirement. In fact, the specification says that "a server’s…