diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2022-03-21 12:33:37 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-21 12:33:37 +1100 |
commit | 1414dc503ba4cddcc5fdd5a0417d54678b1ac3fb (patch) | |
tree | 5aa4a03505c3c64d1624bca6417a47c84a97b6fd /cli/tests/testdata | |
parent | daa7c6d32ab5a4029f8084e174d621f5562256be (diff) |
feat(lsp): support deno.enablePaths setting (#13978)
Ref: denoland/vscode_deno#633
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r-- | cli/tests/testdata/lsp/initialize_params_workspace_enable_paths.json | 77 |
1 files changed, 77 insertions, 0 deletions
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 + } + } +} |