title: How can I create a template with a default file name in IntelliJIDEA?
body: <p>How can set a default file name for a template?
  I've been going through my code lately adding package-info.java with some info.
  I'd like to have IntelliJ IDEA create the file with the correct name and package line so all I have to do is fill in the comment block.</p>
  
  <p>I've figured out a <a href="https://stackoverflow.com/questions/6419606/intellij-idea-new-template">workaround</a> (setting the file extension as <strong>txt</strong>) for the template to be able to create the file. However, I still have to specify the file name as package-info and then rename it from <code>package-info.txt</code> to <code>package-info.java</code> when I'm done.</p>
  
  <p>Since they will all be named <code>package-info</code> I'd like to set this as either part of the template or a default value. </p>