Skip to content

The VS Code plugin for rustfmt does not respect the do not disturb mode #20095

@Voultapher

Description

@Voultapher

Steps to reproduce:

  1. Create a new empty cargo project
  2. Open VS Code
  3. Past this into main.rs:
fn f() {
    match v {
        Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa::Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa {
            ref counkz
        } =>
        match *n {
            LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL::Fffffffffn {}=> (),
        }
        A::A {
            β, 
        } => todo!(),
    };
}
  1. Save main.rs
  2. A toast notification for "Request textDocument/formatting failed." shows up
  3. Run the VS Code command "Notifications: Toggle Do Not Disturb"
  4. Save main.rs

Expected behavior, no notification appears, however, they still do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions