Skip to content

Diagnostics only execute after changes are made #32

@mateusabelli

Description

@mateusabelli

The code for diagnostic checking run only upon changes on the document. This behavior is alright but it should also run diagnostics when the file is opened instead of waiting for a document change.

This a sample of the code that is being used for diagnostics in server/server.py

@server.feature(TEXT_DOCUMENT_DID_CHANGE)
async def did_change(ls: LanguageServer, params: DidChangeTextDocumentParams):
  [...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededserverThis is related to server code

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions