Skip to content

Commit d65b8eb

Browse files
authored
Removed Microsoft's deprecation warnings (#25)
1 parent c7f1ea9 commit d65b8eb

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/extension.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,7 @@ import * as Logger from "./logger/logger";
2828
import { SerialMonitor } from "./serialmonitor/serialMonitor";
2929
const usbDetectorModule = impor("./serialmonitor/usbDetector") as typeof import ("./serialmonitor/usbDetector");
3030

31-
export function showDeprecatedPopup(): void {
32-
vscode.window.
33-
showWarningMessage(
34-
"The Arduino extension is deprecated. Please view our README for more information.",
35-
"View README",
36-
).then((selection) => {
37-
if (selection === "View README") {
38-
vscode.commands.executeCommand("vscode.open", vscode.Uri.parse("https://aka.ms/arduinoextensionreadme"));
39-
}
40-
});
41-
}
42-
4331
export async function activate(context: vscode.ExtensionContext) {
44-
showDeprecatedPopup();
4532
Logger.configure(context);
4633
arduinoActivatorModule.default.context = context;
4734
const activeGuid = uuidModule().replace(/-/g, "");
@@ -63,7 +50,6 @@ export async function activate(context: vscode.ExtensionContext) {
6350
context.subscriptions.push(deviceContext);
6451

6552
const commandExecution = async (command: string, commandBody: (...args: any[]) => any, args: any, getUserData?: () => any) => {
66-
showDeprecatedPopup();
6753
const guid = uuidModule().replace(/-/g, "");
6854
Logger.traceUserData(`start-command-` + command, { correlationId: guid });
6955
const timer1 = new Logger.Timer();

0 commit comments

Comments
 (0)