From 65a2a04d3bf116c1dee8d2528ec18e71ca4d7bf2 Mon Sep 17 00:00:00 2001 From: Jean Pierre Date: Mon, 19 Apr 2021 00:11:26 -0500 Subject: feat(lsp): implement textDocument/prepareCallHierarchy (#10061) --- cli/tests/lsp/outgoing_calls_request.json | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 cli/tests/lsp/outgoing_calls_request.json (limited to 'cli/tests/lsp/outgoing_calls_request.json') 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 + } + } + } + } +} -- cgit v1.2.3