etkachev/nx-webstorm

feat: autocomplete dropdown of available projects in schematics

Closed this issue · 0 comments

Is your feature request related to a problem? Please describe.
It would be nice for schematic properties that expect a source of projectName to have a dropdown autocomplete that would feed in the full list of projects in repo. Then user can filter the list as they type.

Describe the solution you'd like
We should have a auto complete form control available first, then for any schematic that has property that has $default.$source = projectName, then we feed into the auto complete dropdown field the list of projects in the repo.
The list of projects should read from the nx.json file for now.

Describe alternatives you've considered

Additional context
This is something that is available in the VsCode Nx Console already, so it would be nice to replicate.