diff options
| author | Kitson Kelly <me@kitsonkelly.com> | 2021-02-01 14:30:41 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-01 14:30:41 +1100 |
| commit | 534531e4dd4133ff22f775b385ba488ec747cead (patch) | |
| tree | a3f4fcd57ab661acb3b05f4c54ad80af42a86b22 /cli/tests/lsp/did_open_notification_cl_references.json | |
| parent | 46d5843f753548415c87f3c8a868bba49c203b92 (diff) | |
feat(lsp): add references code lens (#9316)
Diffstat (limited to 'cli/tests/lsp/did_open_notification_cl_references.json')
| -rw-r--r-- | cli/tests/lsp/did_open_notification_cl_references.json | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cli/tests/lsp/did_open_notification_cl_references.json b/cli/tests/lsp/did_open_notification_cl_references.json new file mode 100644 index 000000000..546ba5674 --- /dev/null +++ b/cli/tests/lsp/did_open_notification_cl_references.json @@ -0,0 +1,12 @@ +{ + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "uri": "file:///a/file.ts", + "languageId": "typescript", + "version": 1, + "text": "class A {\n a = \"a\";\n\n b() {\n console.log(this.a);\n }\n\n c() {\n this.a = \"c\";\n }\n}\n\nconst a = new A();\na.b();\n" + } + } +} |
