Skip to content

Releases: stegano/vscode-template

v1.3.0

28 Mar 17:48
Compare
Choose a tag to compare

Features

  • feat: Improved to be able to modify template by inputting variable (#20)

v1.2.2

26 Feb 13:31
Compare
Choose a tag to compare

Fixes

  • fix: renameFileFn do not work problem (#15)

v1.2.1

11 Feb 04:04
Compare
Choose a tag to compare

Features

  • feat: add rename sub-directories feature (#14)

v1.1.5

27 Jan 15:05
Compare
Choose a tag to compare

Features

  • feat(.templates): add frequently used settings template files
  • fix(template.config.js): add description for template.config.js file

Docs

  • docs(README.md): change template.conf.js to template.config.js in README.md file (#8)

v1.1.4

25 Jan 11:23
Compare
Choose a tag to compare

Chore

  • chore(webpack): troubleshooting v1.1.0 extension crash (#6)

v1.1.0

17 Jan 15:32
Compare
Choose a tag to compare

Features

  • feat(rename-files): add custom file rename option (#4)
    • This feature is disabled by default. If you want to enable this feature, please refer to template.config.js and implement the replaceFileNameFn function.

v1.0.3

07 Dec 07:05
Compare
Choose a tag to compare

Fixes

  • fix(.templates): fix syntax error in template css #2

v1.0.2

01 Dec 09:49
Compare
Choose a tag to compare

Fixes

  • fix(package.json): fix shortcut conflicts on MacOS

v1.0.1

23 Nov 07:45
Compare
Choose a tag to compare

Fixes

  • fix(template-sample): fix syntax error in template-sample

Docs

  • docs(README.md): add installation information

v1.0.0

23 Nov 07:35
Compare
Choose a tag to compare

Template

This extension makes file and folder structures easier to reuse by templating them.

Usage

When you run the command, the default configuration file and sample templates are automatically created in the current working path.

Palette Commands

  • Shorcut: (MacOS) Cmd + Shift + T, (Windows) Ctrl + Shift + T
Template: Create New (with rename)
  • Shorcut: (MacOS) Cmd + Alt + T, (Windows) Ctrl + Alt + T
Template: Create New

Customization Template and Configuration

The first time you run the command, it will create a .templates folder and atemplate.conf.js configuration file containing the default templates in your working path.

Make customization template

Regardless of the framework or file extension, you can create and reuse the desired template in advance.

  1. Create a template folder in .template (default path) and rename it (the folder name will be the template name)
  2. Create a file and folder structure in the your template folder.
  3. Running the Template command from the Palette command displays the template you just created.

Configuration Settings

  • See the template.conf.js file created in the working path.