12

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.

Victor
  • 3,669
  • 3
  • 37
  • 42
Georgy Gobozov
  • 13,633
  • 8
  • 72
  • 78
  • I'm having trouble even getting up to that point - could you provide a link to some documentation which explains how to add the UI to the Settings menu/system? – Nicholas Albion Jul 03 '17 at 12:53
  • 2
    this looks like a good place to start - http://corochann.com/intellij-plugin-development-introduction-applicationconfigurable-projectconfigurable-873.html – Nicholas Albion Jul 03 '17 at 12:56

1 Answers1

19

Persisting State of Components should answer your questions

Victor
  • 3,669
  • 3
  • 37
  • 42
Yann Cébron
  • 2,042
  • 1
  • 17
  • 14