vscode-ext
vscode-ext copied to clipboard
Consider leveraging the withProgress API for long running processes (builds, deploys, etc)
Example of this in use at the following: https://github.com/microsoft/vscode-extension-samples/tree/main/progress-sample
Hi @kevinbluer, thanks for sending this. Currently the extension uses the withProgress
API, but it does not report any actual progress. However, progress is shown in the Output Channel (when sticky) which becomes visible when triggering a command, e.g.,
https://user-images.githubusercontent.com/4592980/183064536-01c89930-dacc-488d-ad47-6469d6ba0e5c.mp4
Moreover, to use this API with progress we need a way to get the percentage completed. I'm not sure how we can get this from the process's stdout
.