summaryrefslogtreecommitdiff
path: root/cli/tests/lsp/initialize_params_code_lens_test.json
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-06-07 21:38:07 +1000
committerGitHub <noreply@github.com>2021-06-07 21:38:07 +1000
commit3b3be024fa1895a9a1df0a2e67fe93aa888b198e (patch)
tree3a162e49195a5ce6da93855c13fe3f994ca0cb7f /cli/tests/lsp/initialize_params_code_lens_test.json
parentd6f6e157bddc02a64beaa1c96fcda8d8ea27aa6d (diff)
feat(lsp): add test code lens (#10874)
Ref #8643
Diffstat (limited to 'cli/tests/lsp/initialize_params_code_lens_test.json')
-rw-r--r--cli/tests/lsp/initialize_params_code_lens_test.json56
1 files changed, 56 insertions, 0 deletions
diff --git a/cli/tests/lsp/initialize_params_code_lens_test.json b/cli/tests/lsp/initialize_params_code_lens_test.json
new file mode 100644
index 000000000..792928462
--- /dev/null
+++ b/cli/tests/lsp/initialize_params_code_lens_test.json
@@ -0,0 +1,56 @@
+{
+ "processId": 0,
+ "clientInfo": {
+ "name": "test-harness",
+ "version": "1.0.0"
+ },
+ "rootUri": null,
+ "initializationOptions": {
+ "enable": true,
+ "importMap": null,
+ "lint": true,
+ "suggest": {
+ "autoImports": true,
+ "completeFunctionCalls": false,
+ "names": true,
+ "paths": true,
+ "imports": {
+ "hosts": {}
+ }
+ },
+ "unstable": false
+ },
+ "capabilities": {
+ "textDocument": {
+ "codeAction": {
+ "codeActionLiteralSupport": {
+ "codeActionKind": {
+ "valueSet": [
+ "quickfix"
+ ]
+ }
+ },
+ "isPreferredSupport": true,
+ "dataSupport": true,
+ "resolveSupport": {
+ "properties": [
+ "edit"
+ ]
+ }
+ },
+ "foldingRange": {
+ "lineFoldingOnly": true
+ },
+ "synchronization": {
+ "dynamicRegistration": true,
+ "willSave": true,
+ "willSaveWaitUntil": true,
+ "didSave": true
+ }
+ },
+ "workspace": {
+ "configuration": true,
+ "workspaceFolders": true
+ }
+ }
+}