Plugin ToolWindow saving preferences

已回答

Hi Team,

I have a IJ plugin implemented which opens a ToolWindow .  While running plugin I will in put few details with in tool window to start executing the application attached to this plugin . After restarting I loose all my previous in put history within tool window . any way to save those preferences which will not loose with IJ restarts?

Please advise

0

Hi,

Yes. You should store the provided values in a persistent state component: https://plugins.jetbrains.com/docs/intellij/persisting-state-of-components.html

Also, consider implementing Execution/Run Configuration API if your use case is to run applications: https://plugins.jetbrains.com/docs/intellij/execution.html

0

Hi Karol,

Thank you . let me go through

0

请先登录再写评论。