IDEA: How to “create a file from a file template”-plugin…

At https://github.com/markiewb/idea-create-from-template-plugin you will find an IDEA plugin, which shows you some APIs in action:

  • How to add an action to the context menu
  • How to create a context sensitive action. The action is only activated for Maven-based module nodes.
  • How to add an option panel – see projectConfigurable in the plugin.xml
  • How to register and use a project based settings service. See projectService in the plugin.xml
  • How to register a file template. See fileTemplateGroup in plugin.xml and resources/fileTemplates.j2ee
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s