Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>New File from TemplatesNew to Visual Studio Code? Get it now.
New File from Templates

New File from Templates

Kaya Firat

|
2 installs
| (0) | Free
Extension to create templates for diffrent File Types
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

File Templates

File Templates is a Visual Studio Code extension that allows you to quickly create new files based on predefined templates — improving consistency and workflow efficiency.


Features

  • Create new files from templates directly via the context menu
  • Automatically increase revision numbers
  • Prevent overwriting existing files
  • Add or customize templates in the /templates folder

How to use:

  1. Right-click in the Explorer
  2. Select New File From Template
  3. Follow the on-screen instructions

Requirements

No additional dependencies required.
Install and start using immediately.


Extension Settings

This extension does not require any settings or configuration.
However, template files can be added or modified manually in the /templates directory.

└─ /templates ├─ Template_A.txt ├─ Template_B.txt └─ ...


Known Issues

Currently, templates must be maintained manually by editing the /templates folder.
A visual template management interface may be added in future versions.


Release Notes

1.0.0

Initial release of File Templates, including:

  • Create new files from predefined templates
  • Templates include a header/comment section for file description
  • Customizable templates for various script or file types
  • Context menu option to increase revision numbers
  • Safety feature to prevent overwriting existing files

Enjoy!

Thank you for using File Templates — streamline your workflow and stay organized!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft