From 151685393197bce8ee68f1deab0168ba12b43faa Mon Sep 17 00:00:00 2001 From: Filip Bostik Date: Wed, 13 Mar 2024 20:59:46 +0100 Subject: [PATCH] implemented different warning message for MCFS extension --- src/vscode/src/checks.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vscode/src/checks.ts b/src/vscode/src/checks.ts index 90f9245..7d3832e 100644 --- a/src/vscode/src/checks.ts +++ b/src/vscode/src/checks.ts @@ -3,14 +3,14 @@ import * as vscode from 'vscode'; export function extensionsChecks() { const extensionHandlers = { + // "publisher.extensionName": "sergey-agadzhanov.AMPscript": { + // handler returns false if the extension is incompatible, true otherwise. + // handler can also run additional actions in the case there's a need. handler: () => { - vscode.window.showInformationMessage(`MCFS [AMPScript] extension is currently not supported by AMPscript Core.`); + vscode.window.showInformationMessage(`The extension MCFS [AMPScript] is incompatible with AMPscript Core and will prevent AMPscript Core from debugging AMPscript.`); return false; } - }, - "FiB.beautyAmp": { - handler: () => true } };