-
Notifications
You must be signed in to change notification settings - Fork 36.9k
Closed
Labels
Milestone
Description
Tests #8201
- any os - @jrieken
You need to download the attached zip, install it on you disk and point the typescript.tsdk variable to the directory containing the tsserver.js and *.d.ts files. In addition set "typescript.tsserver.experimentalAutoBuild": true to true.
TS Server ZIP
Project with a module system (other than internal or virtual)
- use an existing workspace since file creation is not fully handled yet. Examples are: vscode, vscode-eslint, vscode-languagserver-node, ...
- ensure that the tsconfig.json enables declaration file generation.
- only error checking is implemented. Emitting code is still missing
- on first start ensure that the whole workspace gets checked
- on second start ensure that only the files that have errors get checked
- make changes that change the shape of the API of a module. Ensure that all dependent files get checked.
- make changes to the internal implementation. Ensure that only the file gets checked.
- change the import section. Make sure that new dependencies are respected by changing the shape of a new dependent file (should trigger recheck of the file adding the dependency) or by changing the shape of a removed dependency
- make change to a file that has global definitions. Making changes to its shape should recheck the workspace.
Please note the ambient string modules are not supported yet. E.g modules like this
declare module "global" {
export function global(value: number): string;
}are not correctly handled during dependency tree generation.
Test with internal or virtual projects
- For these projects only the open files are rechecked. Test how sufficient that strategy is.