Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

PublishDiagnostics issue #46

@charlesxsh

Description

@charlesxsh

I am sending a diagnostic to the VSCode with following LSP server:

let param = PublishDiagnosticsParams {...}
let not = lsp_server::Notification::new(N::METHOD.to_string(), params);
connection.sender.send<...>(not.into())

However, nothing happened in the VSCode, the notification sent successfully from the sender.send call. Can anyone enlighten me where could be the potential issue?

(the file path, start and end position is correct)

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