Extended File Templates

Hello

With File Templates I can customize the newly created files in the new dialog. But I want to go bejond the capabilities of the File Templates, for example I would like to have

  • autocomplete for classes used as parameters for the template
  • more flexibility with variables including altering some of their characters
  • scanning current package


Probably that have to be done with some java. Maybe a plugin? Or is there another way? If a plugin is the way is there an example plugin somewhere showing how to create such a extended file template?

Thanks in advance
Stefan

4 comments
Comment actions Permalink

This can be implemented as a plugin. There isn't really any example of a similar "extended file templates" functionality, but it should be fairly easy to figure out.

0
Comment actions Permalink

Thanks Dimitry. Then I start to configure my system for plugin development (I always wanted to have a reason to do that :)).

Cheers
Stefan

0
Comment actions Permalink

You should have a look at live templates.

0
Comment actions Permalink

You can vote and contribute your use cases at http://youtrack.jetbrains.com/issue/IDEA-77726

Best regards

0

Please sign in to leave a comment.