From 1414dc503ba4cddcc5fdd5a0417d54678b1ac3fb Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Mon, 21 Mar 2022 12:33:37 +1100 Subject: feat(lsp): support deno.enablePaths setting (#13978) Ref: denoland/vscode_deno#633 --- .../initialize_params_workspace_enable_paths.json | 77 ++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 cli/tests/testdata/lsp/initialize_params_workspace_enable_paths.json (limited to 'cli/tests/testdata/lsp/initialize_params_workspace_enable_paths.json') diff --git a/cli/tests/testdata/lsp/initialize_params_workspace_enable_paths.json b/cli/tests/testdata/lsp/initialize_params_workspace_enable_paths.json new file mode 100644 index 000000000..87581ebd7 --- /dev/null +++ b/cli/tests/testdata/lsp/initialize_params_workspace_enable_paths.json @@ -0,0 +1,77 @@ +{ + "processId": 0, + "clientInfo": { + "name": "test-harness", + "version": "1.0.0" + }, + "rootUri": "file:///project/", + "initializationOptions": { + "enable": false, + "enablePaths": [ + "./worker" + ], + "cache": null, + "certificateStores": null, + "codeLens": { + "implementations": true, + "references": true, + "test": true + }, + "config": "", + "importMap": null, + "lint": true, + "suggest": { + "autoImports": true, + "completeFunctionCalls": false, + "names": true, + "paths": true, + "imports": { + "hosts": {} + } + }, + "tlsCertificate": null, + "unsafelyIgnoreCertificateErrors": null, + "unstable": false + }, + "workspaceFolders": [ + { + "uri": "file:///project/", + "name": "project" + } + ], + "capabilities": { + "textDocument": { + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "quickfix", + "refactor" + ] + } + }, + "isPreferredSupport": true, + "dataSupport": true, + "disabledSupport": 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