summaryrefslogtreecommitdiff
path: root/cli/tests/lsp/completion_request_optional.json
blob: 5e86c33ff661d095233bd0def02a69279373a866 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "textDocument/completion",
  "params": {
    "textDocument": {
      "uri": "file:///a/file.ts"
    },
    "position": {
      "line": 8,
      "character": 4
    },
    "context": {
      "triggerKind": 2,
      "triggerCharacter": "."
    }
  }
}