From 7d78f58187cdcb9bed632992cde347fd5f3c83eb Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Sun, 16 Oct 2022 13:39:43 +1100 Subject: feat: support inlay hints (#16287) Closes: #11853 --- .../testdata/lsp/initialize_params_hints.json | 102 +++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 cli/tests/testdata/lsp/initialize_params_hints.json (limited to 'cli/tests/testdata/lsp/initialize_params_hints.json') 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 + } + } +} -- cgit v1.2.3