This extension automatically inserts a predefined snippet when a file is created, or an empty file is opened.
This allows templates for classes etc. to be inserted with all the benefits of placeholders and regular expressions, etc.
There is one configuration setting which maps filename globs to snippet names.
Note: The patterns are matched in order of definition. The first one that matches will be used.
Use F1, Preferences: Configure User Snippets to configure your snippets. For more information on configuration snippets, see here.
You can install the latest version of the extension via the Visual Studio Marketplace here.
The source code is available on GitHub here.