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
Leverage notification progress support for progress API #44090
With the new notifications comes support for showing long running operations:
We currently have an API where you can show global progress:
One advantage of having this within progress is to free space from the status bar and also to indicate from which extension the progress is reported (because notifications always show their source). Another advantage is that we could provide a "Cancel" button to stop the operation.
We could move this into a notification as a first step and could offer additional APIs to:
Yeah, maybe another ProgressLocation is what we want. Something like ProgressLocation.Prominent and then add a cancellation token to the task-callback. An alternative approach would be to have a progress-message, tho it feels wrong
Activity
Tyriar commentedon Feb 21, 2018
Sean McManus (@sean-mcmanus) might find this useful for the C++ extension. Related: microsoft/vscode-cpptools#1160
chrisdias commentedon Feb 22, 2018
EricJizbaMSFT Matt Hernandez (@fiveisprime) this would be great for the Azure extensions which have long running processes creating resources...
dragonwolf83 commentedon Feb 22, 2018
This would be useful for the PowerShell Extension as well.
jrieken commentedon Feb 28, 2018
Yeah, maybe another
ProgressLocationis what we want. Something likeProgressLocation.Prominentand then add a cancellation token to the task-callback. An alternative approach would be to have a progress-message, tho it feels wrongLeverage notification progress support for progress API
Leverage notification progress support for progress API (#45958)
bpasero commentedon Mar 21, 2018
Sean McManus (@sean-mcmanus) EricJizbaMSFT Matt Hernandez (@fiveisprime) Troy Campbell (@dragonwolf83) Chris Dias (@chrisdias) this will be in stable API for our March release. You might want to create reminder issues to check it out next month. A sample to use it is:
agauniyal commentedon Mar 23, 2018
I hope the progress bar won't be so thin 😕
bpasero commentedon Mar 24, 2018
Abhinav Gauniyal (@agauniyal) the UI did not change from what I showed in #44090 (comment) and the size of the progress bar matches with any other progress bar we have in the UI.