Files
vscode/extensions/typescript-language-features
Matt Bierner f0942786b4 Add experimental setting to use separate server to compute project level diagnostics
For #13953

**Problem**
We'd like to show project wide diagnostics, however at the moment TS server is single threaded. This means that computing all these diagnostics would interrupt other user operations such as completions.

Right now, our advice is to use tasks to get around this limitation (since tasks always run as separate process) however few people actually use tasks.

**Change**
This change adds an experimental `tsserver.experimental.enableProjectDiagnostics` setting (default false) that makes VS Code spawn a separate TS Server that is only used for computing diagnostics. This should help keep the primary syntax server responsive while letting the diagnostics server churn away at project level diagnostics

**Why experimental?**

- We are comporting too many diagnostics. This is bad for larger projects. I don't think TS provides the right APIs to know which files we actually need to request diagnostics on when a file changes.

- This hasn't been fully extensively tested to make sure it plays nicely with feature such as automatic type acquisition or in complex workspace with multiple projects
2020-02-06 15:15:33 -08:00
..
2018-11-20 12:54:22 +01:00
2018-11-06 20:46:03 +00:00
2019-04-08 15:45:47 -04:00
2020-01-27 15:03:16 +01:00

Language Features for TypeScript and JavaScript files

Notice: This extension is bundled with Visual Studio Code. It can be disabled but not uninstalled.

Features

See TypeScript in Visual Studio Code and JavaScript in Visual Studio Code to learn about the features of this extension.