简体   繁体   中英

What is the best way to save information between runs of plugin?

I'm looking for the best way to save user information between two runs of a Plugin for IntelliJ.

What is the best way to do that?

are there special tools of IntelliJ to do that?

Thanks

For simple things you can use com.intellij.ide.util.PropertiesComponent interface. If it's not enough, implement com.intellij.openapi.components.PersistentStateComponent interface.

More information is available here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM