Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

Workspace diagnostic #51

Open
timsofteng opened this issue Nov 30, 2022 · 3 comments
Open

Workspace diagnostic #51

timsofteng opened this issue Nov 30, 2022 · 3 comments

Comments

@timsofteng
Copy link

Hello. Is it possible to check errors for whole project and not for only files which are in buffers?

@jose-elias-alvarez
Copy link
Owner

Unfortunately this is not yet supported by typescript-language-server. There was a POC PR that got closed recently, and there's a link to another PR that (as I understand it) lays down the groundwork for the feature to be ported from VS Code, but until then, I don't think there's much we can do.

I'll also mention that null-ls has a less-than-ideal workaround using the command line, but it's a poor substitute for actual language server diagnostics.

@timsofteng
Copy link
Author

timsofteng commented Dec 1, 2022

Thanks for the reply. Is that workaround start TSC everytime or use something like tsc --watch?

@jose-elias-alvarez
Copy link
Owner

It runs an instance of tsc on save to update diagnostics.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants