A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/tintoy/msbuild-project-tools-vscode/issues/17 below:

Null response for empty completion requests · Issue #17 · tintoy/msbuild-project-tools-vscode · GitHub

Request:

{
  "jsonrpc":"2.0",
  "id":"2",
  "method":"textDocument/completion",
  "params":{
    "textDocument":{
      "uri":"file:///home/lbullen/runtime-EclipseApplication/NewDotnetProject1/NewDotnetProject1.csproj"
    },
    "uri":"file:///home/lbullen/runtime-EclipseApplication/NewDotnetProject1/NewDotnetProject1.csproj",
    "position":{
      "line":0,
      "character":0
    }
  }
}

Response:

{
  "protocolVersion":"2.0",
  "id":"2",
  "result":null
}

Looking at the LSP for completion-requests, the expected response should be CompletionItem[] | CompletionList.

null is not accepted or else the protocol would look like the Goto Definition Request Protocol: Location | Location[] | null


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4