Skip to content

Create Files With Custom Template is an extension for Visual Studio Code that enables the quick and easy creation of new files using user-defined templates.

Notifications You must be signed in to change notification settings

yogjin/Create-Files-With-Custom-Template

Repository files navigation

Korean

Bug reports and suggestions for improvement are always welcome through the github Issues

Create Files With Custom Template

This is a VSCode extension.

Have you ever found yourself repeatedly creating files of the same format, such as storybook files or component files? Such repetitive tasks can be tedious. However, with the ability to create templates, you can easily generate files of the same format using the "Create Files With Custom Template" feature. This is available as a VSCode extension, making it easy to install and use.

How to Use

1. Install the Extension

Click here to install.

2. Creating Templates

2.1. Create a customTemplates Folder at the Project's Root Path

image
  • Important Notes
    • Please create it at the project's root path.
    • The folder must be named customTemplates.

2.2. Creating a Template

image
  1. Create it inside the customTemplates folder.
  2. In the file name and code, {{name}} will be replaced with the input you provide during creation.
  3. You can create multiple templates at once by placing them in a folder.
  • Important Notes
    • Templates can only be created up to 1-depth.
    • Folder within a folder structure is not allowed.

3. Examples

3.1 Creating a Single Template

2024-01-09.7.26.11.mov

3.2 Creating Multiple Templates

2024-01-09.7.27.50.mov

About

Create Files With Custom Template is an extension for Visual Studio Code that enables the quick and easy creation of new files using user-defined templates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published