Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.

Commit 39c80c6

Browse files
authored
Merge pull request #3660 from microsoft/sandy081/impossible-landfowl
Show warning message for known issues in specific VS Code versions
2 parents a533981 + 25ffaf7 commit 39c80c6

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "copilot-chat",
33
"displayName": "GitHub Copilot Chat",
44
"description": "AI chat features powered by Copilot",
5-
"version": "0.37.4",
5+
"version": "0.37.5",
66
"build": "1",
77
"internalAIKey": "1058ec22-3c95-4951-8443-f26c1f325911",
88
"completionsCoreVersion": "1.378.1799",

src/extension/extension/vscode/extension.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import * as l10n from '@vscode/l10n';
7-
import { commands, env, ExtensionContext, ExtensionMode, l10n as vscodeL10n } from 'vscode';
7+
import { commands, env, ExtensionContext, ExtensionMode, l10n as vscodeL10n, version as vscodeVersion, window } from 'vscode';
88
import { isScenarioAutomation } from '../../../platform/env/common/envService';
99
import { isProduction } from '../../../platform/env/common/packagejson';
1010
import { IIgnoreService } from '../../../platform/ignore/common/ignoreService';
@@ -49,6 +49,13 @@ export async function baseActivate(configuration: IExtensionActivationConfigurat
4949
commands.executeCommand('setContext', showSwitchToReleaseViewCtxKey, undefined);
5050
}
5151

52+
const problematicVersions = ['1.109.0', '1.109.1'];
53+
if (problematicVersions.some(v => vscodeVersion.startsWith(v))) {
54+
const message = l10n.t("This version of VS Code ({0}) has known issues with GitHub Copilot. Please update VS Code and restart.", vscodeVersion);
55+
window.showWarningMessage(message, { modal: true });
56+
return context;
57+
}
58+
5259
if (vscodeL10n.bundle) {
5360
l10n.config({ contents: vscodeL10n.bundle });
5461
}

0 commit comments

Comments
 (0)