summaryrefslogtreecommitdiff
path: root/cli/tests/lsp/did_open_notification_cl_impl.json
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-02-08 21:45:10 +1100
committerGitHub <noreply@github.com>2021-02-08 21:45:10 +1100
commite368c5d0f9d69e69438cb0a8a8deb49d7b02901a (patch)
treeb4375b56374f3aad19089e0f1016b1b892dc972c /cli/tests/lsp/did_open_notification_cl_impl.json
parent09b79463d71f3b144a0cfd878108a012c87464ca (diff)
feat(lsp): add implementations code lens (#9441)
Diffstat (limited to 'cli/tests/lsp/did_open_notification_cl_impl.json')
-rw-r--r--cli/tests/lsp/did_open_notification_cl_impl.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/cli/tests/lsp/did_open_notification_cl_impl.json b/cli/tests/lsp/did_open_notification_cl_impl.json
new file mode 100644
index 000000000..eabcd7ccc
--- /dev/null
+++ b/cli/tests/lsp/did_open_notification_cl_impl.json
@@ -0,0 +1,12 @@
+{
+ "jsonrpc": "2.0",
+ "method": "textDocument/didOpen",
+ "params": {
+ "textDocument": {
+ "uri": "file:///a/file.ts",
+ "languageId": "typescript",
+ "version": 1,
+ "text": "interface A {\n b(): void;\n}\n\nclass B implements A {\n b() {\n console.log(\"b\");\n }\n}\n"
+ }
+ }
+}