diff options
| author | Kitson Kelly <me@kitsonkelly.com> | 2022-10-16 13:39:43 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-16 13:39:43 +1100 |
| commit | 7d78f58187cdcb9bed632992cde347fd5f3c83eb (patch) | |
| tree | 80bd06e16db12e7578b2946eaf0b72ca0ac34c6c /cli/tests/testdata | |
| parent | 6d2656fd56e8ac0f1b1443e28d474bf3ceca89bb (diff) | |
feat: support inlay hints (#16287)
Closes: #11853
Diffstat (limited to 'cli/tests/testdata')
| -rw-r--r-- | cli/tests/testdata/lsp/initialize_params_hints.json | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/cli/tests/testdata/lsp/initialize_params_hints.json b/cli/tests/testdata/lsp/initialize_params_hints.json new file mode 100644 index 000000000..1bab6e86d --- /dev/null +++ b/cli/tests/testdata/lsp/initialize_params_hints.json @@ -0,0 +1,102 @@ +{ + "processId": 0, + "clientInfo": { + "name": "test-harness", + "version": "1.0.0" + }, + "rootUri": null, + "initializationOptions": { + "enable": true, + "cache": null, + "certificateStores": null, + "codeLens": { + "implementations": true, + "references": true, + "test": true + }, + "config": null, + "importMap": null, + "inlayHints": { + "parameterNames": { + "enabled": "all" + }, + "parameterTypes": { + "enabled": true + }, + "variableTypes": { + "enabled": true + }, + "propertyDeclarationTypes": { + "enabled": true + }, + "functionLikeReturnTypes": { + "enabled": true + }, + "enumMemberValues": { + "enabled": true + } + }, + "lint": true, + "suggest": { + "autoImports": true, + "completeFunctionCalls": false, + "names": true, + "paths": true, + "imports": { + "hosts": {} + } + }, + "testing": { + "args": [ + "--allow-all" + ], + "enable": true + }, + "tlsCertificate": null, + "unsafelyIgnoreCertificateErrors": null, + "unstable": false + }, + "capabilities": { + "textDocument": { + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "quickfix", + "refactor" + ] + } + }, + "isPreferredSupport": true, + "dataSupport": true, + "disabledSupport": true, + "resolveSupport": { + "properties": [ + "edit" + ] + } + }, + "completion": { + "completionItem": { + "snippetSupport": true + } + }, + "foldingRange": { + "lineFoldingOnly": true + }, + "synchronization": { + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true, + "didSave": true + } + }, + "workspace": { + "configuration": true, + "workspaceFolders": true + }, + "experimental": { + "testingApi": true + } + } +} |
