vaadin / intellij-plugin

Vaadin IntelliJ Plugin
Apache License 2.0
5 stars 1 forks source link

Upgrading the plugin requires restarting IntelliJ #125

Open Artur- opened 1 month ago

Artur- commented 1 month ago

Is there a reason for this? It seems most other plugins do not require it

MarcinVaadin commented 3 weeks ago

Please look in logs for com.intellij.ide.plugins.DynamicPlugins, for me it worked without restarting as in logs:

2024-10-28 14:06:49,002 [  73948]   INFO - #c.i.i.p.DynamicPlugins - Successfully unloaded plugin com.vaadin.intellij-plugin (classloader unload checked=true)
[...]
2024-10-28 14:06:49,163 [  74109]   INFO - #c.i.i.p.DynamicPlugins - Plugin com.vaadin.intellij-plugin loaded without restart in 111 ms
[...]
2024-10-28 14:16:48,976 [ 673922]   INFO - #c.i.i.p.DynamicPlugins - Successfully unloaded plugin com.vaadin.intellij-plugin (classloader unload checked=true)
[...]
2024-10-28 14:17:14,915 [ 699861]   INFO - #c.i.i.p.DynamicPlugins - Plugin com.vaadin.intellij-plugin loaded without restart in 135 ms
Artur- commented 3 weeks ago
2024-10-28 15:24:46,649 [343822859]   INFO - #c.i.i.p.DynamicPlugins - Plugin com.vaadin.intellij-plugin is not unload-safe because class loader cannot be unloaded
MarcinVaadin commented 3 weeks ago

Hmm here is some troubleshooting guide https://plugins.jetbrains.com/docs/intellij/dynamic-plugins.html#diagnosing-leaks, I will check when it happen to me next time.

Artur- commented 3 weeks ago

Maybe it makes a difference if you have something running that was started using "Debug using Hotswap Agent". I did