[英]Create Intellij IDEA plugin. Store plugin settings
I am new at IDEA plugin development and I have a plugin that I need to support. 我是IDEA插件开发的新手,我有一个我需要支持的插件。 Now there are some settings for this plugin.
现在这个插件有一些设置。 I want to create settings that will be stored at the project level, but I don't know how to do this.
我想创建将在项目级别存储的设置,但我不知道如何执行此操作。
I have created the UI part: 我创建了UI部分:
class SettingsPanel implements Configurable
but I don't understand how I can store some information on project level and use this information in my action for example. 但我不明白如何在项目级别存储一些信息,并在我的行动中使用这些信息。 I want to show project folders structure at my settings panel and save selected folder name.
我想在我的设置面板上显示项目文件夹结构并保存所选的文件夹名称。
持久的组件状态应该回答您的问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.