Skip to content

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

License

Notifications You must be signed in to change notification settings

ManuelGil/vscode-nestjs-typeorm-snippets

Repository files navigation

NestJS TypeORM 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 TypeORM and NestJS for faster development. This extension for Visual Studio Code adds snippets for TypeORM 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_typeorm_deco_column @Column
ns_typeorm_deco_create_date_column @CreateDateColumn
ns_typeorm_deco_update_date_column @UpdateDateColumn
ns_typeorm_deco_delete_date_column @DeleteDateColumn
ns_typeorm_deco_object_id_column @ObjectIdColumn
ns_typeorm_deco_primary_column @PrimaryColumn
ns_typeorm_deco_primary_generated_column @PrimaryGeneratedColumn
ns_typeorm_deco_version_column @VersionColumn
ns_typeorm_deco_view_column @ViewColumn
ns_typeorm_deco_virtual_column @VirtualColumn
ns_typeorm_deco_view_entity @ViewEntity
ns_typeorm_deco_child_entity @ChildEntity
ns_typeorm_deco_entity @Entity
ns_typeorm_deco_table_inheritance @TableInheritance
ns_typeorm_deco_after_insert @AfterInsert
ns_typeorm_deco_after_load @AfterLoad
ns_typeorm_deco_after_recover @AfterRecover
ns_typeorm_deco_after_remove @AfterRemove
ns_typeorm_deco_after_soft_remove @AfterSoftRemove
ns_typeorm_deco_after_update @AfterUpdate
ns_typeorm_deco_before_insert @BeforeInsert
ns_typeorm_deco_before_recover @BeforeRecover
ns_typeorm_deco_before_remove @BeforeRemove
ns_typeorm_deco_before_soft_remove @BeforeSoftRemove
ns_typeorm_deco_before_update @BeforeUpdate
ns_typeorm_deco_event_subscriber @EventSubscriber
ns_typeorm_deco_join_column @JoinColumn
ns_typeorm_deco_join_table @JoinTable
ns_typeorm_deco_many_to_many @ManyToMany
ns_typeorm_deco_many_to_one @ManyToOne
ns_typeorm_deco_one_to_many @OneToMany
ns_typeorm_deco_one_to_one @OneToOne
ns_typeorm_deco_relation_count @RelationCount
ns_typeorm_deco_relation_id @RelationId
ns_typeorm_deco_tree @Tree
ns_typeorm_deco_tree @TreeChildren
ns_typeorm_deco_tree @TreeLevelColumn
ns_typeorm_deco_tree @TreeParent

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 TypeORM Snippets for VSCode is licensed under the MIT License - see the MIT License for details.