timo-reymann / intellij-mjml-support

MJML support for the IntelliJ Platform.
https://timo-reymann.github.io/intellij-mjml-support/
Other
26 stars 11 forks source link

Add WSL supporting #123

Closed quantum3k closed 2 years ago

quantum3k commented 2 years ago

When in IDE i using WSL. In preview always shows Failed to render mjml using helper script because all excutables developing application (nodejs and etc) placed in WSL subsystem, and i think renderers cannot executes. I suggest add to plugin supporting WSL2 features in IDE.

timo-reymann commented 2 years ago

Hi @quantum3k,

i will have to evaluate if this works right away with some minor changes. Currently I dont have a Windows installation with IntelliJ to test it, so i first have to setup everything for that.

If it requires huge effort and might break in the future i wont implement this since maintaining a Windows setup just for this is not reasonable for me.

Kind regards Timo

GarryFlemings commented 2 years ago

@quantum3k I'm not on the development team, but please consider a point: You have a choice between using WSL on Windows or creating a dual-boot system on your computer.

By installing Ubuntu directly (creating a dual-boot system), you'll have a new screen in your boot-up process that'll ask whether you want to boot into Windows or into Ubuntu.

If you choose Ubuntu, Windows has no effect.

The dual-boot configuration is well-tested and widely considered to be very reliable. With it, you run Linux natively with only the difference of having an option to boot instead to Windows.

If your license with JetBrains is like mine, you can run the Linux version of JetBrains products or the Windows version at your preference. So, install the Windows version in Windows; install the Linux version in Ubuntu. Then, you can leave WSL behind.

There are some limits on sharing files between the Linux and Windows versions of your JetBrains product, but they're easy to deal with and well documented. (Short version: Windows cannot reliably read Linux files; Linux can reliably read and write Windows files.)

I'll say that I consider the Ubuntu path more attractive to you for stability WSL is undoubtedly not as well tested as Ubuntu.

It is also more attractive to Timo that you choose the Ubuntu path because he has less programming to do, particularly on a WSL configuration with (possibly) unknown errors.

The decision is yours, of course; my vote doesn't count. I hope the suggestion helps.

timo-reymann commented 2 years ago

Heya,

i had a look at it. Its just to much work to support and maintain WSL support.

So i will close this ticket.

Kind regards Timo