gtache / intellij-lsp

Plugin adding Language Server Protocol support for IntelliJ
Apache License 2.0
397 stars 48 forks source link

rls crashes with InvalidParams error #139

Open ghost opened 4 years ago

ghost commented 4 years ago

Stderr:

[2020-03-01T00:22:24Z ERROR rls::server] dispatch error: Error { code: InvalidParams, message: "invalid value: integer `-1`, expected u64", data: None }

Message:

{
  "jsonrpc":"2.0",
  "method":"textDocument/didOpen",
  "params": {
    "textDocument": {
      "uri": "file:///mnt/DATA/src/pit/src/main.rs",
      "languageId":"rs",
      "version":-1,
      "text":"use std::env;"
    }
  }
}