Skip to content

Disable blocking popup modal errors by default #2545

@eugenesvk

Description

@eugenesvk

Is your feature request related to a problem? Please describe.

After debugging some packages and adding a few to the list of ignored packages I get an infninite notification window

infinite mean that as soon as I close one, another one immediately pops up, so I can't even quit the editor properly!!! (if spam the close button fast enough, I am able to do)

And even outside of such pathological cases I don't care about a failing JSON parsing enough to even have a full UI blocking modal thrown in my face, so please disable it by default.

Describe the solution you'd like

UI blocking operations on errors are disabled by default and people who like them can toggle them on.

Instead you could show an error in the status bar, and even add some ❗❗❗ symbols to make it stand out but without having to block the UI

Describe alternatives you've considered

Maybe there is a way to auto-close these windows after some time and have a "debounce" to not show 10 errors in 10 seconds, but it seems more complicated than simply using a different mechanism

Additional context

That notification modal window:

lsp-json

(I think this is a generic LSP window, but not sure, so sorry if it's LSP-json-package specific)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions