Visual Studio Code snippet plugin containing some very useful features.
- Welder for Visual studio code
- 1. Features
- 2. Setup (in 2 easy steps)
- 3. Contribution guidelines
- 4. Changelog
- 5. License
- 6. Documentation
Snippets for:
- SQL Migrations
- Sequelize Models
- Express Controllers
- Express Routers
- Validators
- Mocha tests (mocha, supertest, chai, chance)
- Install plugin
- Press
F1
, pasteext install Welder
& then pressenter
(or) - Goto extensions by pressing
Ctrl-Shift-X
(Windows/Linux) orCmd-Shift-X
(Mac) & Search forWelder
, click on install - Reload your editor
- You are good to go...
- Clone this repo
- To modify snippets, you can find the templates for each snippet under
src/generators/
. These Html snippets must follow sublime text snippet format. There is no need to updatesnippets.json
manually. The build will take care of regenerating this file from template files. - If you need to change
README.md
(or)package.json
, you should modify their templates (which are used to generate the root level files) underfiles/
. For eg., If you wantpackage.json
at the root to be modified, you should changepackage-template.json
underfiles/
. These root levelpackage.json
&README.md
are regenerated for every build from their corresponding templates. - To customize/create other generators, look at
source/util/config.js
or create your own customized generator as above mentioned. - Send me a pull request
See here
Welder for Visual Studio Code plugin is open-sourced software licensed under the MIT license.
Enjoy!
Description | Shortcut |
---|---|
MaxxiForge - Welder snippets express controller | welder-express-controller |
MaxxiForge - Welder snippets express service | welder-express-service |
MaxxiForge - Welder snippets model boolean-field | welder-model-boolean-field |
MaxxiForge - Welder snippets model default | welder-model-default |
MaxxiForge - Welder snippets model string-field | welder-model-string-field |
MaxxiForge - Welder snippets sql add_column_boolean | welder-sql-add_column_boolean |
MaxxiForge - Welder snippets sql add_column_varchar | welder-sql-add_column_varchar |
MaxxiForge - Welder snippets sql create_search_index | welder-sql-create_search_index |
MaxxiForge - Welder snippets sql create_table | welder-sql-create_table |
MaxxiForge - Welder snippets sql create_unique_index | welder-sql-create_unique_index |
MaxxiForge - Welder snippets sql fk | welder-sql-fk |
MaxxiForge - Welder snippets sql fk_deferred | welder-sql-fk_deferred |