Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pavittarx/moleculer-snippets
vscode extension that provides snippets support for moleculerjs microservices framework
https://github.com/pavittarx/moleculer-snippets
Last synced: 19 days ago
JSON representation
vscode extension that provides snippets support for moleculerjs microservices framework
- Host: GitHub
- URL: https://github.com/pavittarx/moleculer-snippets
- Owner: pavittarx
- License: mit
- Created: 2020-02-29T10:23:33.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-19T04:44:52.000Z (over 4 years ago)
- Last Synced: 2024-12-18T02:27:13.381Z (25 days ago)
- Size: 110 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-moleculer - moleculer-snippets - vscode extension for inserting moleculerjs code snippets (Tools / GraphQL)
README
# Moleculer Snippets
VScode snippets for moleculer microservices framework.## Installation
Search for `Moleculer Snippets` in vscode extensions or simply [click here](https://marketplace.visualstudio.com/items?itemName=pavittarx.moleculer-snippets)## How to use
Type "mol" in any Javascript or Typescript file and you may see all the available snippets. [Read More](https://moleculer.services)* Try using `Alt+Space`, if you don't see snippet suggestions.
* If you are unable to view the snippets after installing the extension.
1. Make sure you have Intellisense enabled in vscode.
2. Restart VSCode## Features
* Generate Configuration File `moleculer.config.js` (Default, Clean & Minimal Versions)
* Services Snippets (Default, Clean & Minimal Versions)
* Insert Service Lifecycle hooks (For Minimal Version Services)
* Snippets for few Middleware functions. (Boilerplate, Emit, LocalAction, RemoteAction)## Known Issues
* Javascript Snippets are usable in typescript files, but no types have been added.
* There are more possible snippets. Please let me know, what other snippets would you prefer?## Contributions
Fork this [repository](https://github.com/pavittarx/moleculer-snippets) & Create a PR.### How to contribute?
1. Fork & Clone this repo & open it in vscode
> git clone https://github.com/pavittarx/moleculer-snippets.json2. Edit JSON snippet files in `snippets/`.
3. Add your own snippets, make sure to follow the pattern used in earlier snippets. Refactor, into new files if needed.
4. Test your snippets by pressing `F5`.
5. Push & Open a PR.include moleculer in prefixes & description.## Release Notes
### 2.0.0
* Refactoring Snippets into multiple files
* More descriptive snippets## Support
* Star this repository on [Github](https://github.com/pavittarx)
* or you can also Buy me a [coffee](https://www.buymeacoffee.com/pavittarx).## Author
[@pavittarx](https://github.com/pavittarx)## License
MIT