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
I created a status bar item to open notifications:
awaitinitialize({
...
});// Notification status bar item.constnotifyService=awaitgetService(INotificationService);constgetIcon=(dotIcon: boolean=false)=>{consticon=["bell"];if(notifyService.doNotDisturbMode)icon.push("-slash");if(dotIcon)icon.push("-dot");return`$(${icon.join("")})`;};constnotifyItem=window.createStatusBarItem(StatusBarAlignment.Right,1);notifyItem.command="notifications.showList";notifyItem.name="Notifications";notifyItem.text=getIcon();notifyService.onDidChangeDoNotDisturbMode(()=>(notifyItem.text=getIcon()));notifyService.onDidRemoveNotification(()=>(notifyItem.text=getIcon()));notifyService.onDidAddNotification(()=>(notifyItem.text=getIcon(true)));notifyItem.show();
This allows me to add a notification widget at the bottom right like in VSCode:
I then try to create another one for my extension running in worker.
Hi,
I created a status bar item to open notifications:
This allows me to add a notification widget at the bottom right like in VSCode:
![Screenshot 2024-01-04 15 26 58](https://private-user-images.githubusercontent.com/45357531/294178762-e8b2490b-c429-41c3-8c25-e319d299d894.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIwMjU1OTMsIm5iZiI6MTcyMjAyNTI5MywicGF0aCI6Ii80NTM1NzUzMS8yOTQxNzg3NjItZThiMjQ5MGItYzQyOS00MWMzLThjMjUtZTMxOWQyOTlkODk0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI2VDIwMjEzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFlZmZkYTBhMTIxMzdmNDFmMWYwM2I0MTY1MDVmNjg1ZDhkOTBkMzU1YjczNzNiODkzNDUwYTZiZDA2MTNlODAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.yVVjz6htERpyH0H0P3iEPXZYrW7aIrGyFtChibVs6dg)
I then try to create another one for my extension running in worker.
Instead of adding more than one place, they share one place.
Screen.recording.2024-01-04.15.34.03.webm
The text was updated successfully, but these errors were encountered: