Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/manuelgil/vscode-nestjs-typeorm-snippets

Snippets for TypeORM and NestJS for faster development. This extension for Visual Studio Code adds snippets for TypeORM for NestJS development.
https://github.com/manuelgil/vscode-nestjs-typeorm-snippets

nest nestjs nestjs-typeorm orm snippet snippets type-orm typeorm vscode vscode-extension

Last synced: about 5 hours ago
JSON representation

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

Awesome Lists containing this project

README

        

# NestJS TypeORM Snippets for VSCode Editor

[![Visual Studio Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/imgildev.vscode-nestjs-typeorm-snippets?style=for-the-badge&label=VS%20Marketplace&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nestjs-typeorm-snippets)
[![Visual Studio Marketplace Installs](https://img.shields.io/visual-studio-marketplace/i/imgildev.vscode-nestjs-typeorm-snippets?style=for-the-badge&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nestjs-typeorm-snippets)
[![Visual Studio Marketplace Downloads](https://img.shields.io/visual-studio-marketplace/d/imgildev.vscode-nestjs-typeorm-snippets?style=for-the-badge&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nestjs-typeorm-snippets)
[![Visual Studio Marketplace Rating](https://img.shields.io/visual-studio-marketplace/r/imgildev.vscode-nestjs-typeorm-snippets?style=for-the-badge&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nestjs-typeorm-snippets&ssr=false#review-details)
[![GitHub Repo stars](https://img.shields.io/github/stars/ManuelGil/vscode-nestjs-typeorm-snippets?style=for-the-badge&logo=github)](https://github.com/ManuelGil/vscode-nestjs-typeorm-snippets)
[![GitHub license](https://img.shields.io/github/license/ManuelGil/vscode-nestjs-typeorm-snippets?style=for-the-badge&logo=github)](https://github.com/ManuelGil/vscode-nestjs-typeorm-snippets/blob/main/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](https://raw.githubusercontent.com/ManuelGil/vscode-nestjs-typeorm-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_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](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-typeorm-snippets/contributors) who participated in this project.

## License

NestJS TypeORM Snippets for VSCode is licensed under the MIT License - see the [MIT License](https://opensource.org/licenses/MIT) for details.