etkachev / nx-webstorm

Plugin for Webstorm that strives to function the same as Nx Console for VsCode. UI for Nx
MIT License
35 stars 4 forks source link

After I update to NX 16.6.0 all Generators not display any more in Webstorm #112

Open ofirrifo opened 1 year ago

ofirrifo commented 1 year ago

Current Behavior

After I update to NX 16.6.0 all Generators not display any more in Webstorm

I created PR with the fix https://github.com/etkachev/nx-webstorm/pull/113 I don't know how to upgrade the version

How to Reproduce

Expected Behavior

To show all Generators options Screenshot 2023-08-03 at 15 29 32

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

The issue come from this file: https://github.com/etkachev/nx-webstorm/blob/master/src/main/kotlin/com/github/etkachev/nxwebstorm/services/MyProjectService.kt

Lines 74-75

 val defaultCustomSchematicsLocation: String
    get() = if (this.isNx11OrAbove) "/tools/generators" else "/tools/schematics"

In NX version 16 the path to generators are /tools/workspace-plugin/src/generators

etkachev commented 1 year ago

I also wanted to let you know about slowly deprecating this plugin in favor for the official one provided by Nrwl: https://plugins.jetbrains.com/plugin/21060-nx-console