/vscode-touch

create files with patterns

Primary LanguageTypeScriptMIT LicenseMIT

img

Touch - Visual Studio Code Extension

A Touch-Like command of creating files

supported by braces

Features

Now we can use all patterns expand by braces to create files.

How to Use

  • Select Creating File in explorer/context
  • enter some pattern
  • Press enter

It will works like this:

$ touch a{1..3}.{js,css}
$ ls

-rw-r--r--     1 noop  staff     0B  7 12 15:34 a1.css
-rw-r--r--     1 noop  staff     0B  7 12 15:34 a1.js
-rw-r--r--     1 noop  staff     0B  7 12 15:34 a2.css
-rw-r--r--     1 noop  staff     0B  7 12 15:34 a2.js
-rw-r--r--     1 noop  staff     0B  7 12 15:34 a3.css
-rw-r--r--     1 noop  staff     0B  7 12 15:34 a3.js

Tip: Check braces for patterns detials.

Release Notes

1.0.1

Update README

1.0.0

Added features braces support to create files


Enjoy!