nx-console-idea-plugin
nx-console-idea-plugin copied to clipboard
Nx Generate (Ui): use current folder
If I start the Nx Generate (Ui) [@nrwl/nest:service] from a subfolder in my app, eg. app/user-backend/src/app/user
the files are generated to app/user-backend/src/<name>/<name>.service(.spec).ts
.
Is it possible to autofill the directory
field according the the context from which the Nx Generate (Ui) was started?
In this case app/user
would be the right value with flat
checked.
I auto fill path
and project
fields according to the context from which the Nx Generate (Ui)

it's the same behaviour that we have for the vscode extension.

Do you have an empty path?
why the app/user
is the right value and not apps/api/src/app/user
?