Skip to content

feat request: possibility to update notification window #43

@hassec

Description

@hassec

A possible use case I was thinking about is using a notification popup to show the status of the LSP startup progress.
E.g at first "LSP Started" and then it would update to show the progress of the background indexing.

I'm not sure if something like that would already be possible?

I could think about two possible interfaces:

  1. Add a "key" in opts and only allow these keys to be unique, thus a 2nd call to notify with the same key will update the old notification and reset the timeout
  2. have notify() return a function that can be called to update the notification and reset timeout

WDYT, @rcarriga, does any of the above sound reasonable to you?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions