dinbtechit / jetbrains-nestjs Goto Github PK
View Code? Open in Web Editor NEWNestJS CLI and IntelliSense
Home Page: https://plugins.jetbrains.com/plugin/22771-nestjs
License: BSD 2-Clause "Simplified" License
NestJS CLI and IntelliSense
Home Page: https://plugins.jetbrains.com/plugin/22771-nestjs
License: BSD 2-Clause "Simplified" License
@SylvainMarty Thank you for reporting this feature request in KartanHQ/intellij-nestjs/
repo . I'm launching a NestJS plugin. I'm planning to include this functionality into this plugin. Unfortunately, the maintainer of KartanHQ/intellij-nestjs/
repository does not have enough bandwidth to add more features or accept PRs at this time.
We use CQRS (@nestjs/cqrs) extensively in our NestJS monorepo project and many of our developers complains about navigation between CQRS files being not very efficient nor natural.
The main complaint was how slow it was to navigate from the usage of Command/Query to the dedicated Handler which does the work under the hood.
Here is an "example" of the problem:
// 1. The dev see this code somwhere:
const command = new MyCommand();
await this.commandBus.execute(command);
// 2. The dev wants to go to the handler which implement the command logic
// First, it needs to do "Go to implementation" (Ctrl + B) to see the command class definition
// Then it needs to "Go to Declaration and usage" (Ctrl + B) to see all the usages and select the one which relates to the handler
Since our code is mostly CQRS implementations, this mechanic needs to happen a lot of time and is not very efficient.
Aside that, we really like CQRS, we just want to be more efficient using it. :-)
I'm not sure what the best solution would be but I was thinking that it would be easier to have a shortcut/option to go to the implementation of a command (aka its handler).
I think it may be possible to get this information since all commands are references by its handler in the @CommandHandler(MyCommand)
annotation.
I searched online to see if there were any plugins or shortcut in Intellij based IDE to achieve this but so far, I only found a feature specific to Resharper: Resharper > Navigate To > Consuming APIs.
Sadly this feature is not present on our IDE (PHPStorm).
I never developed plugins for Intellij but I have experience in Java/Kotlin and I'm interested in submitting a PR if you think it can be handled by this plugin. 😃
After installing the plugin from the marketplace and restarting the IDE, the NestJs Schematics are not showing up in the "New..." context menu. Are there any prerequisites I'm missing?
PhpStorm 2023.3.2
When creating a service or module with context menu new > nest service, when you press OK with an empty second input the error "filename required" appears and the OK button gets disabled. Even after adding a filename, the error and the disabling of the OK button persist.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.