From 65edc4939843c90c34d61f4ce11704f09d3e5cb6 Mon Sep 17 00:00:00 2001 From: Rob Lourens Date: Wed, 30 Oct 2024 22:10:14 -0700 Subject: [PATCH] Add stub lmTools proposal to prevent old extensions from installing in 1.95 (#232668) --- .../platform/extensions/common/extensionsApiProposals.ts | 4 ++++ src/vscode-dts/vscode.proposed.lmTools.d.ts | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 src/vscode-dts/vscode.proposed.lmTools.d.ts diff --git a/src/vs/platform/extensions/common/extensionsApiProposals.ts b/src/vs/platform/extensions/common/extensionsApiProposals.ts index 2296726d8e0e5..9cdecdbdd9d23 100644 --- a/src/vs/platform/extensions/common/extensionsApiProposals.ts +++ b/src/vs/platform/extensions/common/extensionsApiProposals.ts @@ -242,6 +242,10 @@ const _allApiProposals = { languageStatusText: { proposal: 'https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.languageStatusText.d.ts', }, + lmTools: { + proposal: 'https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.lmTools.d.ts', + version: 15 + }, mappedEditsProvider: { proposal: 'https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.mappedEditsProvider.d.ts', }, diff --git a/src/vscode-dts/vscode.proposed.lmTools.d.ts b/src/vscode-dts/vscode.proposed.lmTools.d.ts new file mode 100644 index 0000000000000..63084e91433a7 --- /dev/null +++ b/src/vscode-dts/vscode.proposed.lmTools.d.ts @@ -0,0 +1,9 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ + +// version: 15 + +declare module 'vscode' { +}