You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Option to Show Running State in Toast Notification or Statusbar #1799
As a user running powershell code, I want a visual indicator that the code is running. For me to easily see, I'd like it to run as a toast notification that will make it very obvious that code is running.
For other folks looking at this, this is the indicator in the status bar that is displayed when PowerShell is executing script:
Error messages are output to the PowerShell Integrated Console.
Request for a progress display is a dupe of #140. Most likely, progress would be displayed within the PowerShell Integrated Console. There are perf problems even displaying progress within the console. Sending progress messages back to the client could further, negatively impact performance.
It would be good to get more feedback on such toast notifications. Personally, I would find them annoying after a short while as I already find the other extension sourced toast notifications in VSCode.
I agree it would be annoying if done improperly. I'm definitely recommending it autodismisses, or after delay removes itself. I saw this down with Patrick Meinecke (@SeeminglyScience) doing something EditorServices or some snippet before and it was really cool. It provided a running progress bar so you could see the status at a glance.
The key is that it shouldn't require clicks to deal with it, just be better information on something running.
But that's about it. Really though, any useful graphic showing progress would have to be written into whatever script is running. We can't really infer how many more steps/how much time/etc is left in a script.
Patrick Meinecke (@SeeminglyScience) i'll try and track it down. I think you or someone else perhaps then gave a snippet for write progress using the toast. I was thinking how useful it would be as a general "running" status in the bottom.
Activity
rkeithhill commentedon Mar 20, 2019
For other folks looking at this, this is the indicator in the status bar that is displayed when PowerShell is executing script:
Error messages are output to the PowerShell Integrated Console.
Request for a progress display is a dupe of #140. Most likely, progress would be displayed within the PowerShell Integrated Console. There are perf problems even displaying progress within the console. Sending progress messages back to the client could further, negatively impact performance.
It would be good to get more feedback on such toast notifications. Personally, I would find them annoying after a short while as I already find the other extension sourced toast notifications in VSCode.
sheldonhull commentedon Mar 28, 2019
I agree it would be annoying if done improperly. I'm definitely recommending it autodismisses, or after delay removes itself. I saw this down with Patrick Meinecke (@SeeminglyScience) doing something EditorServices or some snippet before and it was really cool. It provided a running progress bar so you could see the status at a glance.
The key is that it shouldn't require clicks to deal with it, just be better information on something running.
SeeminglyScience commentedon Mar 28, 2019
sheldonhull (@sheldonhull) I don't recall doing anything useful with status. I think at some point I posted a no-op demo like this:
But that's about it. Really though, any useful graphic showing progress would have to be written into whatever script is running. We can't really infer how many more steps/how much time/etc is left in a script.
sheldonhull commentedon Mar 29, 2019
Patrick Meinecke (@SeeminglyScience) i'll try and track it down. I think you or someone else perhaps then gave a snippet for write progress using the toast. I was thinking how useful it would be as a general "running" status in the bottom.