How do you make a plugin setting change require a restart?
I have a setting that is only used on start up so the IDEA would need to restart for it to take effect.
How do I provide this functionality similar to how the IDEA does it when you make changes that require a restart?
I searched but could not find any information on how to force IDEA to restart or how to let it know that a setting change requres a restart.
Please sign in to leave a comment.
ApplicationManager.getApplication().restart()
Thank you Dmitry.
ApplicationManager.getApplication().restart() does not work, I used the code below: