nx-console icon indicating copy to clipboard operation
nx-console copied to clipboard

jetbrains ide - ui generation (NX generate ui) - when generating something it spams new tabs in Run (Alt+4 in ide to enable) after field each change

Open deiiviidas opened this issue 1 year ago • 7 comments

Current Behavior

when generating something it spams new tabs in Run

Expected Behavior

dont spam new tabs? like in vscode

Steps to Reproduce

in jetbrains ide,

shift+shift -> search for: nx generate -> select nx generate ui -> select nx/vue library - then fill all fields Run (Alt+4 in ide to enable) - to see how many tabs it would open

Failure Logs / Images / Videos

image

Environment

JetBrains IDE

  • Nx Console version: 1.19.0
  • VSCode version: 0

deiiviidas avatar Mar 13 '24 22:03 deiiviidas

Hey! I tried to reproduce this but on my machine it always just modified the current run tab instead of spawning new ones. Could you see if there's any info in idea.log when you see this? Also a video of it happening & a minimal repro would be super helpful...

MaxKless avatar Mar 18 '24 10:03 MaxKless

sure, try with enabled services - for example i have, service from npm start running but as service, and then i have added config which is from another project, different folder, that starts laravel server.

image

image

image

deiiviidas avatar Mar 18 '24 12:03 deiiviidas

image

deiiviidas avatar Mar 18 '24 12:03 deiiviidas

active tool window - maybe it does brake preview?

deiiviidas avatar Mar 18 '24 12:03 deiiviidas

Does this happen for every repo you have? Could you provide a minimal reproduction in github and paste it here so I can try it out?

MaxKless avatar Mar 19 '24 09:03 MaxKless

Does this happen for every repo you have? Could you provide a minimal reproduction in github and paste it here so I can try it out?

this is the maximum what i can do - https://www.awesomescreenshot.com/video/25966365?key=4d3908d00f3563ccada27bd0e731a8e3

deiiviidas avatar Mar 19 '24 20:03 deiiviidas

huh that's so interesting.

  • What OS are you on?
  • What IDE is it & what version?
  • Is there anything in idea.log?

MaxKless avatar Mar 20 '24 10:03 MaxKless