Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMPscript extensions checker #29

Merged
merged 2 commits into from
Mar 18, 2024
Merged

Conversation

FiB3
Copy link
Contributor

@FiB3 FiB3 commented Mar 13, 2024

The goal of this PR is to help users regarding the issues #13 & #16 by notifying them about the currently incompatible extensions.

Copy link

Thanks for the contribution! Before we can merge this, we need @FiB3 to sign the Salesforce Inc. Contributor License Agreement.

const extensionHandlers = {
"sergey-agadzhanov.AMPscript": {
handler: () => {
vscode.window.showInformationMessage(`MCFS [AMPScript] extension is currently not supported by AMPscript Core.`);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's update this message to convey what not supported means.

"The extension MCFS [AMPScript] is incompatible with AMPscript Core and will prevent AMPscript Core from debugging AMPscript."

}
},
"FiB.beautyAmp": {
handler: () => true
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this to test a positive test case?

@FiB3
Copy link
Contributor Author

FiB3 commented Mar 13, 2024

Ok, updated the warning message. :)
You are right, the "beautyAmp" was more of an example and test case. I've removed it and replaced it with a comment.

@lbuesching
Copy link
Collaborator

Backward compatibility checks are fine, no changes from this change.

@lbuesching lbuesching merged commit a2d8959 into SalesforceLabs:main Mar 18, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants