vscode-mjml icon indicating copy to clipboard operation
vscode-mjml copied to clipboard

command 'mjml.previewToSide' not found

Open thelittleerik opened this issue 3 months ago • 9 comments

Freshly installed Vscode via aur: visual-studio-code-bin

mjml when I click on the top right to view the Email Template

Image

Reinstalled Vscode Reinstalled MJML plugin Attila Buti's version says this and it's stuck in this:

Image

The whole reason for this debacle? Because the IntelliJ IDEA version says this:

Image

I just want to start my day at work and work on some E-mail templates...

UPDATE: I managed to run Attila Buti's version but this is stuck under the goddamn editor:

Image

thelittleerik avatar Oct 07 '25 07:10 thelittleerik

Please use this one instead https://marketplace.visualstudio.com/items?itemName=mjmlio.vscode-mjml Attila's version is no longer maintained

iRyusa avatar Oct 07 '25 08:10 iRyusa

What you see in the first screenshot is the version you linked. That's why I posted the issue here.

thelittleerik avatar Oct 07 '25 08:10 thelittleerik

Can you screen in the extension panel the runtime status of the extension ? Extension > MJML Official > Features > Runtime status

iRyusa avatar Oct 07 '25 08:10 iRyusa

Image

thelittleerik avatar Oct 07 '25 08:10 thelittleerik

Even when you save a file with .mjml extension it doesnt say something like this ?

Image

iRyusa avatar Oct 07 '25 08:10 iRyusa

No it does not.

Image

Although even mjml files are not treated as recognized files, and again I'd like to reiterate, that I'm not usually on vscode, but since it just ceased to work on IntelliJ for whatever goddamned reason I was trying to get it running on VSCode.

Best case would be to fix the issue that's in IntelliJ. What's most concerning is that MJML basically broke in all 3 versions at the same time. I tried on other machines, no luck there either.

Thank you for your time and efforts.

thelittleerik avatar Oct 07 '25 08:10 thelittleerik

Can you check if a simple command like mjml.version does do anything in the vscode palette ? I don't have any linux machine but both looks good on my mac and windows.

iRyusa avatar Oct 07 '25 09:10 iRyusa

Image

thelittleerik avatar Oct 07 '25 09:10 thelittleerik

Yeah I don't really know what happens but it looks like no command at all are properly registered in your install. Might find some info in the console of vscode but it seems hard to guess without any way to reproduce on my side

iRyusa avatar Oct 07 '25 09:10 iRyusa

Hi, just got the exact same error.

I was using 'Attila Buti' version before, got the same message "MJML needs to be rebuild for your current platform. Please wait for the installation"

So I tried to get the last official version of the plugin and now i'm stuck like @thelittleerik

It could be some conflict between the extensions ? however, I already uninstalled 'Attila Buti' version.

Is there a way to fully clean this extension cache ?

EDIT:

I had this extension installed...

Image

I removed it, removed vscode-mjml, restarted vscode and then, re-installed vscode-mjml this is now working

optyler avatar Dec 11 '25 15:12 optyler