Skip to content

Toast or timeout for showInformationMessage #153693

Closed as not planned
Closed as not planned

Description

@vanowm

Current implementation doesn't allow automatically dismiss showInformationMessage messages, leaving us with setStatusBarMessage, which is too subtle, and IMO is useless. There seems to be no other method to get user's attention without require their interaction.

Status bar has "Show notifications" button, which shows previous messages from showInformationMessage, which suggests these messages could get hidden, however the API doesn't provide any means to hide these messages.

It would be useful to be able either provide a timeout for showInformationMessage or at least dismiss own messages.

Activity

  1. vanowm commented on Jun 29, 2022

    @vanowm
    Author

    I'm not sure if it's a bug or a feature, but if showInformationMessage called quickly 4 times with the same text it will dismiss the message. This could be used as a hack to dismiss own messages, but it feels like abuse.

  2. added
    workbench-notifications
    feature-request
    on Jun 30, 2022
  3. vscodenpa commented on Jun 30, 2022

    @vscodenpa

    This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  4. heartacker commented on Jul 7, 2022

    @heartacker
    Contributor

    I believe this is necessary feature.

    many successful message is the disturb. we need those message, but we have to clear.

    for ex:
    we are using the svn and when we trigger update, the svn updated message is useful but we really really do not want to spend my time to clear the message.
    image

  5. vscodenpa commented on Aug 21, 2022

    @vscodenpa

    This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  6. vscodenpa commented on Aug 31, 2022

    @vscodenpa

    🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  7. locked and limited conversation to collaborators on Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    apifeature-requestworkbench-notifications

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions