From 9abb899f5fd36da65aae78351df3f478f8363700 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Tue, 1 Jun 2021 19:24:36 +1000 Subject: fix(lsp): updates to workspace config are processed sync (#10812) --- .../lsp/initialize_params_did_config_change.json | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 cli/tests/lsp/initialize_params_did_config_change.json (limited to 'cli/tests/lsp/initialize_params_did_config_change.json') diff --git a/cli/tests/lsp/initialize_params_did_config_change.json b/cli/tests/lsp/initialize_params_did_config_change.json new file mode 100644 index 000000000..02237c788 --- /dev/null +++ b/cli/tests/lsp/initialize_params_did_config_change.json @@ -0,0 +1,62 @@ +{ + "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/": false + } + } + }, + "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 + } + }, + "workspace": { + "configuration": true, + "workspaceFolders": true + } + } +} -- cgit v1.2.3