I want to write language extension for verilog,but the code that not saved

in the editor,when I not save the code,theia will not write it to disk,so I can’t detect syntax errors or others by the language server,because the server only can detect by the file, but the code that in the editor not sync with file,what I should do?

[original thread by oyo]

Theia sends all dirty (unsaved) changes to a language server. Maybe a server is misconfigured and does not ask for them.