nrwl / nx-console

Nx Console is the user interface for Nx & Lerna.
https://nx.dev
MIT License
1.31k stars 211 forks source link

Feature: expose `extension.angularConsole.generate` command #795

Closed playerx closed 4 years ago

playerx commented 5 years ago

It would be great to have such command registered in vscode

Motivation: To create key binding for Generate view

mrmeku commented 5 years ago

@playerx We are planning this feature for our next major release. Can I get your thoughts on what you think the flow should feel like?

I'm thinking we could have ng: generate in the command palatte and then bring up a vscode quick select to find which schematic to target.

What do you think? I'm open to all idea!

playerx commented 5 years ago

hi @mrmeku, let me share my current process first, how I use angular console for generating new component: I don't have activity bar ("workbench.activityBar.visible": false) because it takes extra space, I've everything on keyboard shortcuts.

So my first command is Cmd+Shift+P, next select Angular Console: Focus on Navigation View, next click Generate and after that start creating new component

The way I was thinking about simplifying this process was having one special keyboard shortcut in vscode to open Angular Console Generate View automatically, without additional steps. To achieve this I realized that there should be command in vscode: "angular console: show generate view", which will be available in keybindings.

mrmeku commented 5 years ago

@playerx I've got you covered. I have implemented a completely keyboard driven flow for you. I'll close this issue when we release next

playerx commented 5 years ago

Sounds great :) thanks

jaysoo commented 4 years ago

It has been released as part of 9.0.0.