earthly / earthly-intellij-plugin

Mozilla Public License 2.0
9 stars 7 forks source link

Installing Earthly plugin requires PHP plugin #9

Closed bduisenov closed 1 year ago

bduisenov commented 1 year ago

This is quite unexpected that Earthly 0.0.3-ps rely on PHP. Is it really needed as a prerequisite?

Screenshot 2022-12-13 at 11 31 15
fooock commented 1 year ago

I have the same problem and found something interesting. By default, seems the only available version in the IntelliJ repository is the 0.0.3-ps (I suppose that ps is for PHP Storm). I'm using IntelliJ Ultimate.

Captura de Pantalla 2023-03-31 a las 21 25 15

In order to avoid installing PHP, you need to go to the official plugin page and download the raw version of the plugin. Here is the plugin page: https://plugins.jetbrains.com/plugin/20392-earthly/versions

After installing version 0.0.3 manually, I can use the plugin without PHP.

Captura de Pantalla 2023-03-31 a las 21 28 29

I hope this helps you.

elonzh commented 1 year ago

Version 0.0.3 is not compatible with IDEA 2023.1 now.

idelvall commented 1 year ago

I think the reason is the order of the releases we are doing. Seems like the IDE is picking the most recent one that is compatible. I will release the one with the least dependencies last and see if that fixes the issue.

BTW version 0.0.4 (DEA 2023.1 compatible) is now live @elonzh

idelvall commented 1 year ago

From what I've seen this new release seems to be picked first and solve the issue. Can you guys please confirm that is the case?

fooock commented 1 year ago

@idelvall For IntelliJ, it works as expected, but in Goland, if I try to install the plugin then it picks 0.0.4-py as the default

Captura de Pantalla 2023-04-05 a las 23 57 01
idelvall commented 1 year ago

Thanks @fooock, I will rearrange the order to: ij->go->py and that should fix the issue

idelvall commented 1 year ago

Ok, in a couple of days we'll have available version 0.0.5 with the new ordering.

Fingers crossed! :)

image

idelvall commented 1 year ago

Looks like it's fixed. Can you please confirm @fooock ?

Jictyvoo commented 1 year ago

Tested right now on Goland, it looks ok, I was finally able to uninstall the python plugin

fooock commented 1 year ago

yes, it is fixed 🚀 thank you!