vscode-powershell icon indicating copy to clipboard operation
vscode-powershell copied to clipboard

Add back "PowerShell" text indicator when running a "Editor Command"

Open ghost opened this issue 2 years ago • 7 comments

Prerequisites

  • [X] I have written a descriptive issue title.
  • [X] I have searched all issues to ensure it has not already been reported.

Summary

In previous versions of the PowerShell extension, when I ran an Editor Command associated with PS1 file, it would show the text "PowerShell" in the bottom left corner. When the command finished running, the PowerShell text would go away. This was a nice indicator letting me when the command had finished, and I knew I could go look for the results. In my case, my command (by use of Microsoft.VSCode_profile.ps1 with the script block registered as an Editor Command) signs the script, compiles the PS1 into an EXE format (for both .NET 4.8 and .NET 6.x formats), and then signs the executables. This whole process takes a bit of time...long enough that the "PowerShell" text indicator "going away" really helped let me know when it was done. With the current version, I have to wait "until I think it should be done" to check it.

image

As of version v2022.5.0, this feature no longer exists.

Proposed Design

Please add the "PowerShell" text (or some other indicator) to the bottom (or other obvious location) of VSCode when an Editor Command is running and then hide it when the command finishes. For an example of this, check out any previous version of the extension prior to v2022.5.0. Hopefully this is an easy add, since it already worked in previous versions.

ghost avatar May 06 '22 04:05 ghost

Thanks @NJK-HOME we will keep this issue open for investigation

SydneyhSmith avatar May 09 '22 18:05 SydneyhSmith

Thanks for posting about this before I could. The removal of any kind of visual cue that PowerShell is running a command has been frustrating for me.

shangles avatar May 13 '22 20:05 shangles

There's an animated spinning icon in the lower-right that appears when PowerShell is "starting" It makes sense to have the same area animate progress when a script is running.

shangles avatar May 20 '22 22:05 shangles

Just curious. I see "2 tasks done" at the top of this issue. I'm a github newbie and can't see what tasks are completed... and which ones are remaining to be completed. Does this mean there's progress on this enhancement for a future update?

shangles avatar May 28 '22 18:05 shangles

It refers to this image

If there will be an ongoing fix or something else, it will most likely show up as update between comments

panekj avatar May 28 '22 18:05 panekj

Any update on when we might see this feature implemented?

shangles avatar Aug 06 '22 18:08 shangles

Monthly bump

shangles avatar Sep 16 '22 15:09 shangles

Working on it, I've at least found the ends of the wires that need to be spliced back together (if that makes sense).

andyleejordan avatar Sep 27 '22 19:09 andyleejordan

I love this update. Thank you!

shangles avatar Sep 27 '22 23:09 shangles