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
Notifications: multiple notifications can get out of sync #54369
have a yo code generated extension with the following command implementation:
letdisposable=vscode.commands.registerCommand('extension.sayHello',()=>{// The code you place here will be executed every time your command is executedreturnvscode.window.withProgress({location: vscode.ProgressLocation.Notification,title: 'Dummy Progress'},async(pr)=>{letvalue=0;while(value<100){// Wait for a random amount of time. Pauses less than the debounce time (100ms)// will cause the progress notification to lose increments.// With 200ms as the max pause, 1/2 increments will be lost. The// resulting progress bar will show about 1/2 progress.awaitpause(Math.random()*200);value++;// Increment. Show the actual percentage for reference.pr.report({increment: 1,message: `Progress is at ${value}%`});}awaitpause(2000);},);});
run the command multiple times
🐛 the progress reporting ends up randomly across the different progress notifications that popup and are not individual per invocation
Activity
Revert "fix #54295, fix #54369"
better fix for #54295 & #54369