Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manuelgil/vscode-nestjs-mikroorm-snippets
Snippets for MikroORM and NestJS for faster development. This extension for Visual Studio Code adds snippets for MikroORM for NestJS development.
https://github.com/manuelgil/vscode-nestjs-mikroorm-snippets
mikro-orm snippet snippets vscode vscode-extension vscode-snippets
Last synced: about 1 month ago
JSON representation
Snippets for MikroORM and NestJS for faster development. This extension for Visual Studio Code adds snippets for MikroORM for NestJS development.
- Host: GitHub
- URL: https://github.com/manuelgil/vscode-nestjs-mikroorm-snippets
- Owner: ManuelGil
- License: mit
- Created: 2023-12-16T17:28:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-26T19:38:45.000Z (11 months ago)
- Last Synced: 2024-05-02T04:33:34.848Z (8 months ago)
- Topics: mikro-orm, snippet, snippets, vscode, vscode-extension, vscode-snippets
- Homepage: https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nestjs-mikroorm-snippets
- Size: 1.1 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# NestJS MikroORM Snippets for VSCode Editor
[![Visual Studio Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/imgildev.vscode-nestjs-mikroorm-snippets?style=for-the-badge&label=VS%20Marketplace&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nestjs-mikroorm-snippets)
[![Visual Studio Marketplace Installs](https://img.shields.io/visual-studio-marketplace/i/imgildev.vscode-nestjs-mikroorm-snippets?style=for-the-badge&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nestjs-mikroorm-snippets)
[![Visual Studio Marketplace Downloads](https://img.shields.io/visual-studio-marketplace/d/imgildev.vscode-nestjs-mikroorm-snippets?style=for-the-badge&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nestjs-mikroorm-snippets)
[![Visual Studio Marketplace Rating](https://img.shields.io/visual-studio-marketplace/r/imgildev.vscode-nestjs-mikroorm-snippets?style=for-the-badge&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nestjs-mikroorm-snippets&ssr=false#review-details)
[![GitHub Repo stars](https://img.shields.io/github/stars/ManuelGil/vscode-nestjs-mikroorm-snippets?style=for-the-badge&logo=github)](https://github.com/ManuelGil/vscode-nestjs-mikroorm-snippets)
[![GitHub license](https://img.shields.io/github/license/ManuelGil/vscode-nestjs-mikroorm-snippets?style=for-the-badge&logo=github)](https://github.com/ManuelGil/vscode-nestjs-mikroorm-snippets/blob/main/LICENSE)Snippets for MikroORM and NestJS for faster development. This extension for Visual Studio Code adds snippets for MikroORM for NestJS development.
## Requirements
- VSCode 1.46.0 or later
## Usage
### Snippets
![demo](https://raw.githubusercontent.com/ManuelGil/vscode-nestjs-mikroorm-snippets/main/docs/images/demo.gif)
Type part of snippet, press `Tab` or `Enter`, and the snippet unfolds. Below is a list of the most important shortcuts.
| Snippet | Purpose |
| --- | --- |
| ns_mikroorm_entity_manager | EntityManager |
| ns_mikroorm_entity_dto | EntityDTO |
| ns_mikroorm_request_context | RequestContext |
| ns_mikroorm_deco_entity | @Entity |
| ns_mikroorm_deco_primary_key | @PrimaryKey |
| ns_mikroorm_deco_property | @Property |
| ns_mikroorm_deco_many_to_one | @ManyToOne |
| ns_mikroorm_deco_one_to_many | @OneToMany |
| ns_mikroorm_deco_many_to_many | @ManyToMany |
| ns_mikroorm_deco_one_to_one | @OneToOne |
| ns_mikroorm_deco_check | @Check |
| ns_mikroorm_deco_embeddable | @Embeddable |
| ns_mikroorm_deco_embedded | @Embedded |
| ns_mikroorm_deco_ensure_request_context | @EnsureRequestContext |
| ns_mikroorm_deco_enum | @Enum |
| ns_mikroorm_deco_filter | @Filter |
| ns_mikroorm_deco_formula | @Formula |
| ns_mikroorm_deco_before_create | @BeforeCreate |
| ns_mikroorm_deco_after_create | @AfterCreate |
| ns_mikroorm_deco_before_update | @BeforeUpdate |
| ns_mikroorm_deco_after_update | @AfterUpdate |
| ns_mikroorm_deco_before_upsert | @BeforeUpsert |
| ns_mikroorm_deco_after_upsert | @AfterUpsert |
| ns_mikroorm_deco_on_init | @OnInit |
| ns_mikroorm_deco_on_load | @OnLoad |
| ns_mikroorm_deco_before_delete | @BeforeDelete |
| ns_mikroorm_deco_after_delete | @AfterDelete |
| ns_mikroorm_deco_index | @Index |
| ns_mikroorm_deco_unique | @Unique |
| ns_mikroorm_entity_repository | EntityRepository |
| ns_mikroorm_deco_inject_mikroorm | @InjectMikroORM |
| ns_mikroorm_deco_inject_repository | @InjectRepository |
| ns_mikroorm_deco_inject_entity_manager | @InjectEntityManager |
| ns_mikroorm_module_root | @MikroOrmModule |
| ns_mikroorm_module_feature | @MikroOrmModule |
| ns_mikroorm_deco_serialized_primary_key | @SerializedPrimaryKey |
| ns_mikroorm_deco_subscriber | @Subscriber |## Connect with me
[![GitHub followers](https://img.shields.io/github/followers/ManuelGil?style=for-the-badge&logo=github)](https://github.com/ManuelGil)
[![X (formerly Twitter) Follow](https://img.shields.io/twitter/follow/imgildev?style=for-the-badge&logo=x)](https://twitter.com/imgildev)## Other Extensions
- [NestJS File Generator for VSCode](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nestjs-generator)
- [NestJS Snippets for VSCode Editor](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nestjs-snippets-extension)
- [Angular File Generator for VSCode Editor](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-angular-generator)
- [React / NextJS / T3 Stack File Generator](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nextjs-generator)
- [Nx / Angular / Nest / Next Essential Extension Pack](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nx-pack)
- [CodeIgniter 4 Snippets for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-codeigniter4-shield-snippets)
- [CodeIgniter 4 Spark for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-codeigniter4-shield-spark)
- [Moodle Pack](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-moodle-snippets)
- [Mustache Template Engine - Snippets & Autocomplete](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-mustache-snippets)## Changelog
See [CHANGELOG.md](./CHANGELOG.md)
## Authors
- **Manuel Gil** - _Owner_ - [ManuelGil](https://github.com/ManuelGil)
See also the list of [contributors](https://github.com/ManuelGil/vscode-nestjs-mikroorm-snippets/contributors) who participated in this project.
## License
NestJS MikroORM Snippets for VSCode is licensed under the MIT License - see the [MIT License](https://opensource.org/licenses/MIT) for details.