From 3037fe312729e0ec4562f4f448947f0675e4bd75 Mon Sep 17 00:00:00 2001 From: davidsemakula Date: Sun, 4 Feb 2024 16:45:26 +0300 Subject: [PATCH] update minimum supported vscode engine to match vscode-languageclient --- package.json | 4 ++-- src/services.ts | 1 + yarn.lock | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 9c3ce81..97ca202 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ }, "license": "GPL-3.0", "engines": { - "vscode": "^1.76.0" + "vscode": "^1.82.0" }, "categories": [ "Programming Languages" @@ -100,7 +100,7 @@ "@types/glob": "^8.1.0", "@types/mocha": "^10.0.1", "@types/node": "16.x", - "@types/vscode": "^1.76.0", + "@types/vscode": "^1.82.0", "@typescript-eslint/eslint-plugin": "^5.54.0", "@typescript-eslint/parser": "^5.53.0", "@vscode/test-electron": "^2.3.8", diff --git a/src/services.ts b/src/services.ts index 11a0ad8..0d9aaef 100644 --- a/src/services.ts +++ b/src/services.ts @@ -50,6 +50,7 @@ export async function initializeProject(client: lsp_types.LanguageClient, manage // Ref: https://github.com/microsoft/vscode-languageserver-node/issues/1272 // Ref: https://github.com/microsoft/vscode-languageserver-node/pull/1273 // FIXME: Remove this and intercept and save workspace edits in middleware when `middleware.workspace.handleApplyEdit` ships. + // NOTE: Expected in `vscode-languageclient` version 9.0.2 // Tracks creation of project files. let hasCreatedLib = false; let hasCreatedCargo = false; diff --git a/yarn.lock b/yarn.lock index 289423e..bb3f4c4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -237,10 +237,10 @@ resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.0.tgz#591c1ce3a702c45ee15f47a42ade72c2fd78978a" integrity sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw== -"@types/vscode@^1.76.0": - version "1.85.0" - resolved "https://registry.yarnpkg.com/@types/vscode/-/vscode-1.85.0.tgz#46beb07f0f626665b52d1e2294382b2bc63b602e" - integrity sha512-CF/RBon/GXwdfmnjZj0WTUMZN5H6YITOfBCP4iEZlOtVQXuzw6t7Le7+cR+7JzdMrnlm7Mfp49Oj2TuSXIWo3g== +"@types/vscode@^1.82.0": + version "1.86.0" + resolved "https://registry.yarnpkg.com/@types/vscode/-/vscode-1.86.0.tgz#5d5f233137b27e51d7ad1462600005741296357a" + integrity sha512-DnIXf2ftWv+9LWOB5OJeIeaLigLHF7fdXF6atfc7X5g2w/wVZBgk0amP7b+ub5xAuW1q7qP5YcFvOcit/DtyCQ== "@typescript-eslint/eslint-plugin@^5.54.0": version "5.62.0"