Skip to content

Releases: yuanhjty/code-template-tool

0.6.1

06 Mar 01:28
Compare
Choose a tag to compare
  • Fix docs typo

v0.6.0

05 Mar 17:18
Compare
Choose a tag to compare
  • Add the filed allowExistingFolder to template config.

    If allowExistingFolder is set to true, when trying to create a directory that is already existing, the existing directory will just be used.

    If set to false or not configured, when trying to create a existing directory, a FileAlreadyExistsError will be thrown.

v0.5.1

26 Feb 15:00
Compare
Choose a tag to compare
  • Fix the issue that template list has no fixed sort.
  • Update docs.

v0.5.0

16 Feb 08:46
Compare
Choose a tag to compare
  • Support variables for the user settings field templatesPath: {home}, {workspace}.

  • Skip select step when there is only one template.

  • Autofocus on variable input box.

  • Focus on buttons by tab key and trigger by enter key.

  • New user settings: codeTemplateTool.userInput.confirmOnEnter, codeTemplateTool.userInput.cancelOnEscape

v0.4.0

13 Feb 03:36
Compare
Choose a tag to compare
  • Support customizing variable's left boundary and right boundary via the codeTemplateTool.variable.leftBoundary and codeTemplateTool.variable.rightBoundary fields in user settings.

  • Fix the issue that the additional underscores are replaced.

v0.3.0

30 Jan 13:44
Compare
Choose a tag to compare
  • Refactor project structure.
  • Upgrade user interface.
  • Support modification of destination folder after select template.
  • Support recursive creation of folders.
  • Support custom configuration file name.
  • Support custom encoding.
  • Support glob pattern filter when read template file/folders.
  • Support custom prefix and suffix.
  • Support variable noTransformation globally and locally.
  • Support variable keepUpperCase globally and locally.
  • Move variable style features down to style field of variable configuration.
  • Update docs.

v0.2.0

10 Oct 07:06
Compare
Choose a tag to compare
fix: update version number