summaryrefslogtreecommitdiff
path: root/cli/tests/lsp/outgoing_calls_request.json
diff options
context:
space:
mode:
authorJean Pierre <jeanp413@hotmail.com>2021-04-19 00:11:26 -0500
committerGitHub <noreply@github.com>2021-04-19 15:11:26 +1000
commit65a2a04d3bf116c1dee8d2528ec18e71ca4d7bf2 (patch)
tree6d91d77583d82c0145f8f90ccf4e83bc2ae38228 /cli/tests/lsp/outgoing_calls_request.json
parent0552eaf569ef910b0d132b6e60758f17a4519d91 (diff)
feat(lsp): implement textDocument/prepareCallHierarchy (#10061)
Diffstat (limited to 'cli/tests/lsp/outgoing_calls_request.json')
-rw-r--r--cli/tests/lsp/outgoing_calls_request.json33
1 files changed, 33 insertions, 0 deletions
diff --git a/cli/tests/lsp/outgoing_calls_request.json b/cli/tests/lsp/outgoing_calls_request.json
new file mode 100644
index 000000000..a8d224ae8
--- /dev/null
+++ b/cli/tests/lsp/outgoing_calls_request.json
@@ -0,0 +1,33 @@
+{
+ "jsonrpc": "2.0",
+ "id": 5,
+ "method": "callHierarchy/outgoingCalls",
+ "params": {
+ "item": {
+ "name": "baz",
+ "kind": 6,
+ "detail": "Bar",
+ "uri": "file:///a/file.ts",
+ "range": {
+ "start": {
+ "line": 5,
+ "character": 2
+ },
+ "end": {
+ "line": 7,
+ "character": 3
+ }
+ },
+ "selectionRange": {
+ "start": {
+ "line": 5,
+ "character": 2
+ },
+ "end": {
+ "line": 5,
+ "character": 5
+ }
+ }
+ }
+ }
+}