apple / pkl-intellij

JetBrains editor plugins providing Pkl language support
https://pkl-lang.org/intellij/current/index.html
Apache License 2.0
57 stars 11 forks source link

Plugin update doesn't work #70

Open translatenix opened 1 month ago

translatenix commented 1 month ago

When a new plugin version is published to pkl-intellij's custom plugin repository, subsequent IntelliJ update checks fail to find it ("All plugins are up to date"). The only way to update the plugin is to uninstall and reinstall it.

Other users have experienced this problem: https://github.com/apple/pkl/discussions/676#discussioncomment-10918864

As this is presumably an IntelliJ issue, I filed: https://youtrack.jetbrains.com/issue/IDEA-360958/Check-for-plugin-updates-doesnt-work-for-custom-plugin-repos

jamesward commented 1 week ago

Still running into this and now seeing an error in the Plugin Repo Management screen:

image
jamesward commented 1 week ago

Oh that error might be due to incompatibility with 2024.3.

bioball commented 1 week ago

Yeah, that does happen if it can't find a matching supported IJ version.

Our latest version (0.31.0) does support 2024.3 though.

bioball commented 1 week ago

Ah, scratch that; I see that our latest updatePlugins.xml still has until-build="242.*". Will release a new update shortly.

jamesward commented 1 week ago

I have 0.30.1 currently installed and did the "check for updates" thing but it doesn't indicate that there are any updates.

I then uninstalled the plugin which I think removed the repository too. Then I restarted, re-added the repo, found the plugin again in the marketplace and installed it (0.31.1).

So it does seem like there is something strange with the update functionality and the custom repo.