Niel de Wet
Niel de Wet

Reputation: 8398

IntelliJ plugin : How to import settings

In IntelliJ 12 (possibly earlier versions too) it is possible to import a jar with settings, previously exported.

I would like two write a plugin to specify a location where this settings jar can automatically be imported from. That would allow you to put a jar in your repository and in that way share it with your team.

With the lack of online javadocs for the open-api, I've had a hard time working out how to do this.

What class in the plugin framework will allow me to import settings?

Upvotes: 1

Views: 1293

Answers (1)

Niel de Wet
Niel de Wet

Reputation: 8398

The ImportSettingsAction is the class that provides the import action in the File menu. I bastardized it for my own purposes.

Upvotes: 1

Related Questions