Skip to content

clear_diagnostics sends a publishDiagnostics notification without checking the client capabilities #20784

@pyscripter

Description

@pyscripter

Summary

Whilst publish_diagnostics checks client capabilities for supports_pull_diagnostics before sending a notification,
clear_diagnostics sends a publishDiagnostics notification without doing so.

Although it does not do much harm, I think it should do the same check as publish_diagnostics

Version

0.14

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedContributions especially welcomeserverRelated to the LSP server

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions