PowerShellEditorServices icon indicating copy to clipboard operation
PowerShellEditorServices copied to clipboard

Add visual if a register command is loaded.

Open gerane opened this issue 8 years ago • 4 comments

I think it would be beneficial if a a registered command had some form of visual for the user when loaded. That way when one is loaded they are aware of it. This could help spread adoption and help people learn about the new feature. It would also be a way for people to learn when a module has been updated to support the commands.

gerane avatar May 14 '16 22:05 gerane

Like a message that appears in the editor stating that something has been registered? Or maybe status bar text?

daviwil avatar May 14 '16 22:05 daviwil

Well, I wasn't completely sure of the type yet. Wanted to bring it up and see what you thought. Maybe handle it differently if done via f5 or f8 than if loaded via profile or module.

If there is widespread adoption, you also don't want to spam the user. Could maybe make it give a count of modules loaded, and a separate if a totally brand new one is loaded.

You could also have a little status icon at the bottom that lists loaded commands, and have it show up with a little green dot if a brand new command has been loaded. On May 14, 2016 5:34 PM, "David Wilson" [email protected] wrote:

Like a message that appears in the editor stating that something has been registered? Or maybe status bar text?

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/PowerShell/PowerShellEditorServices/issues/226#issuecomment-219255360

gerane avatar May 14 '16 22:05 gerane

I like the idea of showing an aggregate message at startup and then showing an individual message if a command gets loaded from a module. Might see if there's a way to do that in a non-intrusive way. Unfortunately there won't be a good way to show a UI indicator of anything other than text in most editors.

You might also be interested in what's being discussed in this issue: https://github.com/PowerShell/PowerShellEditorServices/issues/215

daviwil avatar May 14 '16 22:05 daviwil

You could also store a list of previously loaded commands, and have a message for any new or maybe updated commands are loaded and in that message display the commands name. On May 14, 2016 5:44 PM, "David Wilson" [email protected] wrote:

I like the idea of showing an aggregate message at startup and then showing an individual message if a command gets loaded from a module. Might see if there's a way to do that in a non-intrusive way. Unfortunately there won't be a good way to show a UI indicator of anything other than text in most editors.

You might also be interested in what's being discussed in this issue: #215 https://github.com/PowerShell/PowerShellEditorServices/issues/215

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/PowerShell/PowerShellEditorServices/issues/226#issuecomment-219255730

gerane avatar May 14 '16 23:05 gerane