summaryrefslogtreecommitdiff
path: root/cli/tests/lsp/completion_request_registry.json
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-04-09 11:27:27 +1000
committerGitHub <noreply@github.com>2021-04-09 11:27:27 +1000
commitd9d4a5d73c28741deaa2c93d87672ce117315fbf (patch)
tree57d08deb2e80796f9e426a4592b47254b112021d /cli/tests/lsp/completion_request_registry.json
parent3168fa4ee7782e72b57745483a7b0df5df5ce083 (diff)
feat(lsp): add registry import auto-complete (#9934)
Diffstat (limited to 'cli/tests/lsp/completion_request_registry.json')
-rw-r--r--cli/tests/lsp/completion_request_registry.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/cli/tests/lsp/completion_request_registry.json b/cli/tests/lsp/completion_request_registry.json
new file mode 100644
index 000000000..2165fbdab
--- /dev/null
+++ b/cli/tests/lsp/completion_request_registry.json
@@ -0,0 +1,18 @@
+{
+ "jsonrpc": "2.0",
+ "id": 2,
+ "method": "textDocument/completion",
+ "params": {
+ "textDocument": {
+ "uri": "file:///a/file.ts"
+ },
+ "position": {
+ "line": 0,
+ "character": 46
+ },
+ "context": {
+ "triggerKind": 2,
+ "triggerCharacter": "@"
+ }
+ }
+}