KartanHQ / intellij-nestjs

Nest plugin for IntelliJ Platform
Apache License 2.0
12 stars 2 forks source link

[Feature]: Run NestJS Schematics (CLI) through right-click menu option #213

Open dinbtechit opened 1 year ago

dinbtechit commented 1 year ago

Is your feature request related to a problem? Please describe.

It would be nice if there is an option to simply right click and generate the generate the code. Similar to Angular Schematics.

Describe the solution you'd like

Note - the screenshots are from Angular schematics. Proposing something similar for nestjs

  1. Right-click on any directory/file on the project explorer:

image

  1. List all the possible options to generate:

image

  1. Open popup, type -- to autocomplete all the options.

image

Describe alternatives you've considered

Using the terminal to generate the services, guards, pipes etc.

Additional context

I am an intellij Plugin developer myself. I will see if I have time to submit a pull request for this. But want to get your thoughts. Cheers 🙌

nekofar commented 1 year ago

Thanks a lot for your suggestion! Right now, I'm a bit swamped with other commitments, so my bandwidth is a bit low. But don't worry, I won't forget about your idea! As soon as I have more time and space to dive into it, I'll make sure to give it the attention it deserves. Your input is greatly appreciated, and I'm excited to explore it further when I can.

dinbtechit commented 1 year ago

Took an initial stab at this.

https://github.com/KartanHQ/intellij-nestjs/assets/17984781/0375a22d-4710-4014-94ea-31d353ea6db7

dinbtechit commented 1 year ago

@nekofar - I have submitted an PR #243 for this. Please let me know if you have any questions or concerns. Cheers 🙌

nekofar commented 1 year ago

@nekofar - I have submitted an PR #243 for this. Please let me know if you have any questions or concerns. Cheers 🙌

Hello @dinbtechit, thank you for sending in your pull request! I appreciate the hard work and time you put into it. I promise to give it my full attention and review it as quickly as possible. Thank you again for your valuable contributions.