Вопрос

I am new at IDEA plugin development and I have a plugin that I need to support. 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:

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.

Это было полезно?

Решение

Persisting State of Components should answer your questions

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top