Easily Create Files Using Templates
It must have occurred to you that you have to write duplicate code when creating each file. This extension solves this problem for you using templates!
Js:
- Array Module
- Function Module
- Object Module
React:
- Class Component
- Function Component
Vue:
- Component
- Plugin
- Router
- Store
Graphql:
- Query
- Mutation
- start a folder called .templates in root of project
- in folder create file {file-format}-{name-of-template}.template. for example js-custom.template
- write your template and save
🚧 NOTICE: you can use target folder name with %foldername and file name with %filename keywords
- start a folder called .templates in root of project
- create file with your target template file name.
template file names:
- graphql-mutation.template
- graphql-query
- js-array-module
- js-function-module
- js-object-module
- react-class-component
- react-function-component
- vue-component
- vue-plugin
- vue-router
- vue-store
- write your template and save
🚧 NOTICE: you can use target folder name with %foldername and file name with %filename keywords
help us to improve extension and add other templates