What's the timing of sending textDocument/publishDiagnostics
from langium to monaco editor?
#4838
Unanswered
durianwaffle
asked this question in
Q&A
Replies: 1 comment
-
Monaco is just an editor and does not understand the Language Server Protocol. I see you have posted the same question over at eclipse-langium/langium#1819 which will be a more appropriate place than here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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