Skip to content

Warning (lsp-mode): Unknown notification: metals/syncStatus #122

@Rogach

Description

@Rogach

Describe the bug
Upon starting lsp-mode in a Scala file, warning "Unknown notification: metals/syncStatus" is displayed.

To Reproduce
I'm using lsp-mode 20260112.1722, lsp-metals 20250228.2145, metals 2.0.0-M7. Using BSP to connect to Mill.

Logs
Notification as seen in the lsp logs:

[Trace - 04:46:37 ] Received notification 'metals/syncStatus'.
Params: {
"document": "file:///modules/main/src/SomeFile.scala",
"status": "hidden"
}
[Trace - 04:46:38 ] Received notification 'metals/syncStatus'.
Params: {
"document": "file:///modules/main/src/SomeFile.scala",
"status": "untracked",
"kind": "warning",
"text": "$(alert) Untracked",
"tooltip": "Document is not synced with build server. Click to sync.",
"command": "metals.sync-file"
}

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