Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is our plugin dynamic? Why an IDE restart is always required once the plugin is reloaded? #1631

Open
PawelLipski opened this issue Apr 3, 2023 · 2 comments
Labels
distribution research needed Further information is requested

Comments

@PawelLipski
Copy link
Collaborator

PawelLipski commented Apr 3, 2023

https://plugins.jetbrains.com/docs/intellij/dynamic-plugins.html

@PawelLipski PawelLipski added research needed Further information is requested distribution labels Apr 3, 2023
@PawelLipski PawelLipski self-assigned this Apr 3, 2023
@mkondratek
Copy link
Collaborator

mkondratek commented Apr 4, 2023

IIRC we asked us this question years ago 😅

For now every time I update the plugin I must restart the IDE (the plugin tab disappears).
On the other hand (however I am not 100% sure) I think that one is able to install and use the plugin without restarting.


I think it would be nice to make it dynamic!

@PawelLipski
Copy link
Collaborator Author

PawelLipski commented Apr 4, 2023

Huh plugin verifier (executed in every CI run) says:

Plugin can probably be enabled or disabled without IDE restart

There's actually no way for plugin verifier to say that plugin can surely be reloaded without restart:

image

... which in turn is probably due to things like these:

image

that can't easily be checked statically without actually running the IDE with plugin 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distribution research needed Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants