Skip to content

Test 'Explore project wide builder for TS' #8203

@dbaeumer

Description

@dbaeumer

Tests #8201

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

tsserver.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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions