How to get VSCode to show TypeScript errors for files *not* open in the editor?

As of 14.04.2020 There is an experimental feature in generally available VS Code to enable project wide problem reporting. Add the following to your settings.json:

"typescript.tsserver.experimental.enableProjectDiagnostics": true

It is still an experimental feature (after few years of neglect), so it can be both overwhelming and underwhelming at the same time. Good thing is that it apparently works with other languages as well and respects your config files.

Watch this space.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)