Skip to content

Snippets for MikroORM and NestJS for faster development. This extension for Visual Studio Code adds snippets for MikroORM for NestJS development.

License

Notifications You must be signed in to change notification settings

ManuelGil/vscode-nestjs-mikroorm-snippets

Repository files navigation

NestJS MikroORM Snippets for VSCode Editor

Visual Studio Marketplace Version Visual Studio Marketplace Installs Visual Studio Marketplace Downloads Visual Studio Marketplace Rating GitHub Repo stars GitHub 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

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 X (formerly Twitter) Follow

Other Extensions

Changelog

See CHANGELOG.md

Authors

See also the list of contributors who participated in this project.

License

NestJS MikroORM Snippets for VSCode is licensed under the MIT License - see the MIT License for details.