Setup
- Create folder in
${WORKSPACE}/extensions/templates/${ext} (ext is your file extension name, e.g. ts, tsx, js)
- Create template files and put under your ext folder (e.g. ${WORKSPACE}/extensions/templates/ts/TemplateA.tmpl)
Template
- You may name the template file name with any extension name (In general, it can be named as
somename.tmpl )
- You can use %FILENAME% use insert the filename
- Can put variable inside %% like %VARIABLE_A%
Features
Create from template - select a folder and create file from template
Insert from template - insert the template in active file
| |