What's the timing of sending textDocument/publishDiagnostics from langium to monaco editor? #1819
Unanswered
durianwaffle
asked this question in
Q&A
Replies: 1 comment
-
Hey @durianwaffle, Langium will only publish/update the diagnostics once, when the langium/packages/langium/src/lsp/language-server.ts Lines 336 to 343 in fa8371b |
Beta Was this translation helpful? Give feedback.
0 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
I noticed that everytime when user typed something, there will be a
textDocument/publishDiagnostics
message from langium to monaco editor. I am wondering are all thetextDocument/publishDiagnostics
message from DocumentValidator(which is for the final phase of validation)? Or there are other phases will also sendtextDocument/publishDiagnostics
for example during lexing/parsing/linking before the customized validation checking?What's the timing to send
textDocument/publishDiagnostic
for language server to Monaco editor?Beta Was this translation helpful? Give feedback.
All reactions