title: Eclipse java - Different code templates for different source folders
body: <p>Is there a way to set up different "generated code templates" (to be clear, not the completion templates that come up when you press <kbd>ctrl</kbd>+<kbd>space</kbd>, but instead the ones accessed at <code>Window -&gt; Preferences</code> uner <code>Java -&gt; Code Style -&gt; Code Templates</code>) for different source folders in an Eclipse project? If it isn't a built-in feature, is there a plugin that can do this?</p>
  
  <p>Meaning, that when I create a file in one source folder, it will use one code template, and when I create another file in a different folder, it will use a different code template.</p>
  
  <p>I am hoping to use this for contest programming, where I have one project for all my contests, and a source folder for each individual contest. Since different contests have different input formats, I would like different source folders to have their own "new file" templates.</p>
  
  <p>I am using the latest Eclipse 2018-12, if it matters.</p>