Refs: https://github.com/Microsoft/vscode/issues/44090 - [x] any os @joaomoreno - [x] any os @rebornix Complexity: 2 There is new API to show progress as a notification. **Verify:** * progress shows up as notification and optionally can show a cancel button * progress can either show up infinite or discrete * multiple progress items can show up at the same time **Sample code:** ```typescript vscode.window.withProgress({ location: vscode.ProgressLocation.Notification, title: "this is cool", cancellable: true }, (progress, token) => { token.onCancellationRequested(() => { console.log("CANCELED") }); setTimeout(() => { progress.report({ percentage: 10, message: "still going..."}); }, 1000); setTimeout(() => { progress.report({ percentage: 50, message: "still going harder..."}); }, 2000); setTimeout(() => { progress.report({ percentage: 90, message: "almost there..."}); }, 3000); var p = new Promise(resolve => { setTimeout(() => { resolve(); }, 5000); }); return p; }); ```
Activity
bpasero commentedon Mar 27, 2018
Peng Lyu (@rebornix) you might want to test "out of sources" given the amount of fixes I already pushed that were uncovered by Joao.