summaryrefslogtreecommitdiff
path: root/cli/tests/lsp/selection_range_did_open_notification.json
blob: a6b3d9d39c3a006d92f366a891425c7f749e2a1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{
  "jsonrpc": "2.0",
  "method": "textDocument/didOpen",
  "params": {
    "textDocument": {
      "uri": "file:///a/file.ts",
      "languageId": "typescript",
      "version": 1,
      "text": "class Foo {\n  bar(a, b) {\n    if (a === b) {\n      return true;\n    }\n    return false;\n  }\n}"
    }
  }
}