Skip to content

Plugin for IntelliJ IDEA products with support of code generating from templates

License

Notifications You must be signed in to change notification settings

alexoro/IntelliJ-Template-CodeGen

Repository files navigation

Template CodeGen

IntelliJ plugin for creating files from templates

Are you working within some framework where you need to create a lot of boilerplate files? Is there a need to create templates and reuse them within the team? Well, this plugin is for you.

Key features

  • Templates are a set of some files inside a project. So you can share it within team.
  • Supports placeholder. Wrap placeholder with '##'. I.e. ##I_AM_PLACEHOLDER##.
  • Placeholders are supported in: directory names, file names and file contents.

How to use

  • Install plugin from plugin marketplace.
  • Specify templates directory in plugin settings: 'Preferences' -> 'Tools' -> 'Template CodeGen'.
  • Create templates in specified folder. Each folder is a separate template.
  • Make a 'right button click' on a directory you want to place templates in, select 'New' -> 'Create from Template'.
  • Fill the placeholders and press 'OK' :)

Links

P.S.

I'm new to creating plugins so the code might not be as great as it could be.

License

Apache 2.0

About

Plugin for IntelliJ IDEA products with support of code generating from templates

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages