Maxim Stepanov

Results 3 comments of Maxim Stepanov

I have digged into how mypy extension does this. Mypy has a "daemon mode". Mypy daemon outputs all of its data to stdout, as it does not have LSP capabilities....

@charliermarsh for the first point, here's the function in mypy plugin repository which shows how to set diagnostics for any file in a workspace: https://github.com/matangover/mypy-vscode/blob/master/src/extension.ts#L440C2-L440C2 For the second point, there...

Update: I also noticed that rust-analyzer extension shows errors for non-open files.