summaryrefslogtreecommitdiff
path: root/cli/tests/lsp/initialize_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/initialize_request_registry.json
parent3168fa4ee7782e72b57745483a7b0df5df5ce083 (diff)
feat(lsp): add registry import auto-complete (#9934)
Diffstat (limited to 'cli/tests/lsp/initialize_request_registry.json')
-rw-r--r--cli/tests/lsp/initialize_request_registry.json63
1 files changed, 63 insertions, 0 deletions
diff --git a/cli/tests/lsp/initialize_request_registry.json b/cli/tests/lsp/initialize_request_registry.json
new file mode 100644
index 000000000..94480934f
--- /dev/null
+++ b/cli/tests/lsp/initialize_request_registry.json
@@ -0,0 +1,63 @@
+{
+ "jsonrpc": "2.0",
+ "id": 1,
+ "method": "initialize",
+ "params": {
+ "processId": 0,
+ "clientInfo": {
+ "name": "test-harness",
+ "version": "1.0.0"
+ },
+ "rootUri": null,
+ "initializationOptions": {
+ "enable": true,
+ "codeLens": {
+ "implementations": true,
+ "references": true
+ },
+ "importMap": null,
+ "lint": true,
+ "suggest": {
+ "autoImports": true,
+ "completeFunctionCalls": false,
+ "names": true,
+ "paths": true,
+ "imports": {
+ "hosts": {
+ "http://localhost:4545/": true
+ }
+ }
+ },
+ "unstable": false
+ },
+ "capabilities": {
+ "textDocument": {
+ "codeAction": {
+ "codeActionLiteralSupport": {
+ "codeActionKind": {
+ "valueSet": [
+ "quickfix"
+ ]
+ }
+ },
+ "isPreferredSupport": true,
+ "dataSupport": true,
+ "resolveSupport": {
+ "properties": [
+ "edit"
+ ]
+ }
+ },
+ "foldingRange": {
+ "lineFoldingOnly": true
+ },
+ "synchronization": {
+ "dynamicRegistration": true,
+ "willSave": true,
+ "willSaveWaitUntil": true,
+ "didSave": true
+ }
+ }
+ }
+ }
+}