struct Scry::PublishDiagnostic
- Scry::PublishDiagnostic
- Struct
- Value
- Object
Defined in:
scry/publish_diagnostic.crConstant Summary
-
ALL_FILES_WITH_DIAGNOSTIC =
{} of String => Array(String)
-
Store all groups of files that have received some diagnostic, Useful to clean diagnostics after code changes. Each group depends on the file that generated the diagnostic and can be cleared just by that file.
Constructors
Instance Method Summary
- #clean(uri = @uri)
- #from(ex) : Array(LSP::Protocol::NotificationMessage)
-
#full_clean
Reset all diagnostics in the current project If the computed set is empty it has to push the empty array to clear former diagnostic See: https://microsoft.github.io/language-server-protocol/specification#textDocument_publishDiagnostics
Constructor Detail
Instance Method Detail
def full_clean
#
Reset all diagnostics in the current project If the computed set is empty it has to push the empty array to clear former diagnostic See: https://microsoft.github.io/language-server-protocol/specification#textDocument_publishDiagnostics