summaryrefslogtreecommitdiff
path: root/cli/tests/lsp/initialize_params_ca_no_disabled.json
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-08-10 09:56:34 +1000
committerGitHub <noreply@github.com>2021-08-10 09:56:34 +1000
commitf7e416bc7fbb8b1bc17e180d5aeb2e4f00256bea (patch)
tree517ef875abed324587167c6001ac25be050dd7da /cli/tests/lsp/initialize_params_ca_no_disabled.json
parent2db381eba9768acf855219ec9560e20a62659994 (diff)
feat(lsp): support clients which do not support disabled code actions (#11612)
Closes: #11610
Diffstat (limited to 'cli/tests/lsp/initialize_params_ca_no_disabled.json')
-rw-r--r--cli/tests/lsp/initialize_params_ca_no_disabled.json64
1 files changed, 64 insertions, 0 deletions
diff --git a/cli/tests/lsp/initialize_params_ca_no_disabled.json b/cli/tests/lsp/initialize_params_ca_no_disabled.json
new file mode 100644
index 000000000..3df87aded
--- /dev/null
+++ b/cli/tests/lsp/initialize_params_ca_no_disabled.json
@@ -0,0 +1,64 @@
+{
+ "processId": 0,
+ "clientInfo": {
+ "name": "test-harness",
+ "version": "1.0.0"
+ },
+ "rootUri": null,
+ "initializationOptions": {
+ "enable": true,
+ "cache": null,
+ "codeLens": {
+ "implementations": true,
+ "references": true,
+ "test": true
+ },
+ "config": "",
+ "importMap": null,
+ "lint": true,
+ "suggest": {
+ "autoImports": true,
+ "completeFunctionCalls": false,
+ "names": true,
+ "paths": true,
+ "imports": {
+ "hosts": {}
+ }
+ },
+ "unstable": false
+ },
+ "capabilities": {
+ "textDocument": {
+ "codeAction": {
+ "codeActionLiteralSupport": {
+ "codeActionKind": {
+ "valueSet": [
+ "quickfix",
+ "refactor"
+ ]
+ }
+ },
+ "isPreferredSupport": true,
+ "dataSupport": true,
+ "resolveSupport": {
+ "properties": [
+ "edit"
+ ]
+ }
+ },
+ "foldingRange": {
+ "lineFoldingOnly": true
+ },
+ "synchronization": {
+ "dynamicRegistration": true,
+ "willSave": true,
+ "willSaveWaitUntil": true,
+ "didSave": true
+ }
+ },
+ "workspace": {
+ "configuration": true,
+ "workspaceFolders": true
+ }
+ }
+}