Skip to content

Commit

Permalink
implemented different warning message for MCFS extension
Browse files Browse the repository at this point in the history
  • Loading branch information
FiB3 committed Mar 13, 2024
1 parent b4446b2 commit 1516853
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/vscode/src/checks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
};

Expand Down

0 comments on commit 1516853

Please sign in to comment.